mirror of https://github.com/1099438829/macUI.git
改进dock
This commit is contained in:
parent
a7ca90f20e
commit
0cbf4d1157
|
|
@ -1249,7 +1249,7 @@ body {
|
|||
}
|
||||
|
||||
#dock .dock-container {
|
||||
width: 100%;
|
||||
width: 100% !important;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
12
js/index.js
12
js/index.js
|
|
@ -2,7 +2,7 @@
|
|||
* Created by Yuri2 on 2017/7/10.
|
||||
*/
|
||||
window.Macui = {
|
||||
_version: 'v1.1.2.5',
|
||||
_version: 'v1.1.2.6',
|
||||
_debug: true,
|
||||
_bgs: {
|
||||
main: '',
|
||||
|
|
@ -989,7 +989,7 @@ window.Macui = {
|
|||
docks.eq(i).show();
|
||||
}
|
||||
}
|
||||
if (width > 768) {
|
||||
if (!this.isSmallScreen()){
|
||||
$('#dock').Fisheye({
|
||||
maxWidth: 70,
|
||||
items: 'a',
|
||||
|
|
@ -1001,9 +1001,11 @@ window.Macui = {
|
|||
valign: 'bottom',
|
||||
halign: 'center'
|
||||
})
|
||||
} else {
|
||||
$("#dock .dock-container").off('mousemove').off('mouseover').off('mouseout')
|
||||
docks.off('mousemove').off('mouseover').off('mouseout')
|
||||
}else {
|
||||
$("#dock .dock-container").css("width",width)
|
||||
docks.on('mouseover mousemove mouseout', function (e) {
|
||||
e.stopPropagation()
|
||||
}).css("width",cell_width).off('mouseover mousemove mouseout')
|
||||
}
|
||||
},
|
||||
commandCenterToggle: function () {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue