on xenial help sign in
use opacity: 0 instead of visible: false to not mess with scope loading
commit53d91f177d2f23866db0c0d6bdeb2b52f1f20480 authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 25 Jul 2014, 01:13 (12 years ago) parent27d0ebc
1 file changed+2−2
qml/Dash/DashContent.qml+2−2
qml/Dash/DashContent.qml+2−2
@@ -121,9 +121,9 @@ Item {
121121 Loader {
122122 width: ListView.view.width
123123 height: ListView.view.height
124− visible: { // hide delegate if offscreen
124+ opacity: { // hide delegate if offscreen
125125 var xPositionRelativetoView = ListView.view.contentX - x
126− return xPositionRelativetoView > -width && xPositionRelativetoView < width
126+ return (xPositionRelativetoView > -width && xPositionRelativetoView < width) ? 1 : 0
127127 }
128128 asynchronous: true
129129 // TODO This if will eventually go away since we're killing DashApps.qml