~aacid/unity-2d/missaligned_progress

« back to all changes in this revision

Viewing changes to shell/hud/Hud.qml

[HUD] Fix HUD not being expanded to the left if used on a screen without launcher. Fixes: https://bugs.launchpad.net/bugs/979927. Approved by .

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
 
142
142
            anchors.left: parent.left
143
143
            anchors.top: parent.top
144
 
            width: (launcher2dConfiguration.hideMode == 0) ? 0 : launcherLoader.width
145
 
            visible: (launcher2dConfiguration.hideMode != 0)
 
144
            width: visible ? launcherLoader.width : 0
 
145
            visible: !shellManager.hudShell.rootObject.launcherAlwaysVisible
146
146
 
147
147
            IconTile {
148
148
                id: iconTile