on xenial help sign in
shorten drag handle in fullscreen. Use state change
fdb56beNick Dedekind
qml/Panel/Panel.qml+4−4
@@ -147,10 +147,6 @@ Item {
147 }
147 }
148 }
148 }
149
149
150− showDragHandle {
151− anchors.bottomMargin: fullscreenMode ? -minimizedPanelHeight : 0
152− }
153−
154 hideDragHandle {
150 hideDragHandle {
155 anchors.bottomMargin: -indicatorOrangeLine.height
151 anchors.bottomMargin: -indicatorOrangeLine.height
156 }
152 }
@@ -197,6 +193,10 @@ Item {
197 target: indicatorArea;
193 target: indicatorArea;
198 anchors.topMargin: indicators.state === "initial" ? -d.indicatorHeight : 0
194 anchors.topMargin: indicators.state === "initial" ? -d.indicatorHeight : 0
199 }
195 }
196+ PropertyChanges {
197+ target: indicators.showDragHandle;
198+ anchors.bottomMargin: -units.gu(1)
199+ }
200 }
200 }
201 ]
201 ]
202}
202}