on xenial help sign in
revert the faulty changes to disableHeight
commit695ece2f3388738c60a5e2aba0359e8f874fa3f5 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateFri 24 Feb 2017, 16:24 (10 years ago) parentf694c4f
1 file changed+2−2
qml/OrientedShell.qml+2−2
qml/OrientedShell.qml+2−2
@@ -183,7 +183,7 @@ Item {
183183
184184 // We need to manually update this on startup as the binding
185185 // below doesn't seem to have any effect at that stage
186− oskSettings.disableHeight = !shell.oskEnabled
186+ oskSettings.disableHeight = !shell.oskEnabled || shell.usageScenario == "desktop"
187187 }
188188
189189 // we must rotate to a supported orientation regardless of shell's preference
@@ -194,7 +194,7 @@ Item {
194194 Binding {
195195 target: oskSettings
196196 property: "disableHeight"
197− value: !shell.oskEnabled
197+ value: !shell.oskEnabled || shell.usageScenario == "desktop"
198198 }
199199
200200 Binding {