Wallpaper: minor optimizations/simplification
This commit is contained in:
parent
66a4618d09
commit
b43b065cf2
3 changed files with 3 additions and 17 deletions
|
|
@ -22,8 +22,6 @@ Variants {
|
|||
// Internal state management
|
||||
property string transitionType: "fade"
|
||||
property real transitionProgress: 0
|
||||
// Scaling support for widgets that rely on it
|
||||
property real scaling: ScalingService.getScreenScale(screen)
|
||||
|
||||
readonly property real edgeSmoothness: Settings.data.wallpaper.transitionEdgeSmoothness
|
||||
readonly property var allTransitions: WallpaperService.allTransitions
|
||||
|
|
@ -91,14 +89,7 @@ Variants {
|
|||
left: true
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: ScalingService
|
||||
function onScaleChanged(screenName, scale) {
|
||||
if ((screen !== null) && (screenName === screen.name)) {
|
||||
scaling = scale
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Timer {
|
||||
id: debounceTimer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue