shell: new lock anim for bkg and bar
This commit is contained in:
parent
c70822c1f5
commit
f6caa3e209
8 changed files with 48 additions and 28 deletions
|
|
@ -16,7 +16,6 @@ PanelWindow {
|
|||
}
|
||||
|
||||
width: 70
|
||||
margins.left: Lock.Controller.locked ? -width : 0
|
||||
exclusiveZone: width - margins.left
|
||||
|
||||
color: "transparent"
|
||||
|
|
@ -38,10 +37,13 @@ PanelWindow {
|
|||
Rectangle {
|
||||
id: barRect
|
||||
|
||||
x: 10 - Lock.Controller.bkgSlide * (barRect.width + 10)
|
||||
width: parent.width - 15
|
||||
|
||||
anchors {
|
||||
fill: parent
|
||||
top: parent.top
|
||||
bottom: parent.bottom
|
||||
margins: 10
|
||||
rightMargin: 5
|
||||
}
|
||||
|
||||
color: ShellGlobals.colors.bar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue