mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
background: dont show wallpaper until we are ready
This commit is contained in:
@@ -22,6 +22,9 @@ Variants {
|
||||
property string transitionType: "fade"
|
||||
property real transitionProgress: 0
|
||||
property bool isStartupTransition: true
|
||||
property bool wallpaperReady: false
|
||||
|
||||
visible: wallpaperReady
|
||||
|
||||
readonly property real edgeSmoothness: Settings.data.wallpaper.transitionEdgeSmoothness
|
||||
readonly property var allTransitions: WallpaperService.allTransitions
|
||||
@@ -704,6 +707,8 @@ Variants {
|
||||
// Sets up transition params, then defers the actual animation
|
||||
// to allow the compositor time to map the window.
|
||||
function performStartupTransition() {
|
||||
wallpaperReady = true;
|
||||
|
||||
if (Settings.data.wallpaper.skipStartupTransition) {
|
||||
setWallpaperImmediate(futureWallpaper);
|
||||
isStartupTransition = false;
|
||||
|
||||
Reference in New Issue
Block a user