Skip to content

Commit

Permalink
compositor: Solid color for splash screen
Browse files Browse the repository at this point in the history
Splash screen is white until the background component is loaded asynchronously
and takes more time to load compared to the desktop itself, resulting in a
white rectangle that is faded into the desktop.

Use the same solid color from the Plymouth and SDDM themes instead, this will
also make the transition feel smooth.

Closes: #74
  • Loading branch information
plfiorini committed Jan 10, 2017
1 parent 1a4e592 commit 39dd35b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions compositor/qml/screens/SplashScreen.qml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@
***************************************************************************/

import QtQuick 2.0
import QtGraphicalEffects 1.0
import QtQuick.Controls 2.0
import QtQuick.Controls.Material 2.0
import Liri.Shell 1.0

Background {
Rectangle {
// Same color as Plymouth and SDDM
color: Material.color(Material.BlueGrey, Material.Shade800)

Material.theme: Material.Dark
Material.primary: Material.Blue
Material.accent: Material.Blue
Expand Down

0 comments on commit 39dd35b

Please sign in to comment.