feat(wallpaper engine): add option to disable start animation

This commit is contained in:
Haoyu Xu
2023-06-23 12:28:03 -04:00
parent 20f23aa31e
commit 0209cf538d
2 changed files with 11 additions and 0 deletions

View File

@@ -131,5 +131,9 @@ window.wallpaperPropertyListener = {
window.settings.positionPadding("bottom", properties.paddingbottom.value)
window.settings.functionInsights("positionPaddingBottom", Object.keys(properties) !== 1)
}
if (properties.useStartAnimation) {
window.settings.useStartAnimation = properties.useStartAnimation.value
window.settings.functionInsights("useStartAnimation", Object.keys(properties) !== 1)
}
},
};