on xenial help sign in
Indicators: set indicator handle & menu content invisible when are clipped into non-existence
9b649d9Gerry Boland
qml/Panel/Indicators.qml+2
@@ -187,6 +187,7 @@ Showable {
187 bottom: handle.top
187 bottom: handle.top
188 }
188 }
189 indicatorsModel: visibleIndicators.model
189 indicatorsModel: visibleIndicators.model
190+ visible: indicators.partiallyOpened || indicators.fullyOpened
190 clip: !indicators.fullyOpened
191 clip: !indicators.fullyOpened
191 activeHeader: indicators.state == "hint" || indicators.state == "reveal"
192 activeHeader: indicators.state == "hint" || indicators.state == "reveal"
192 enabled: contentEnabled
193 enabled: contentEnabled
@@ -219,6 +220,7 @@ Showable {
219 }
220 }
220 height: Math.max(Math.min(handleImage.height, indicators.height - handleImage.height), 0)
221 height: Math.max(Math.min(handleImage.height, indicators.height - handleImage.height), 0)
221 clip: height < handleImage.height
222 clip: height < handleImage.height
223+ visible: menuContent.visible
222
224
223 BorderImage {
225 BorderImage {
224 id: handleImage
226 id: handleImage