on xenial help sign in
Set the theme earlier

This way we avoid some flashing/animating of colors because of the theme change Fixes: #1574048 Approved by: Michael Terry

commite32fe6a88d3f5fdfde1e86a00e646c3a110cd6f1 authorAlbert Astals Cid <albert.astals@canonical.com> dateFri 27 May 2016, 13:52 (10 years ago) parent12c5e560c586df
1 file changed+3−2
qml/Shell.qml+3−2
qml/Shell.qml+3−2
@@ -45,9 +45,11 @@ import Cursor 1.0
4545import WindowManager 0.1
4646
4747
48−Item {
48+StyledItem {
4949 id: shell
5050
51+ theme.name: "Ubuntu.Components.Themes.SuruDark"
52+
5153 // to be set from outside
5254 property int orientationAngle: 0
5355 property int orientation
@@ -171,7 +173,6 @@ Item {
171173 }
172174
173175 Component.onCompleted: {
174− theme.name = "Ubuntu.Components.Themes.SuruDark"
175176 finishStartUpTimer.start();
176177 }
177178