mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-28 18:50:40 +03:00
restore indicator iconOffset when changing styles
This commit is contained in:
parent
008a9c6038
commit
df6bb10f31
@ -74,4 +74,13 @@ Item {
|
||||
//! svg image paths either from plasma theme or local files relevant to indicator "ui" directory
|
||||
//! in order to reduce resources usage
|
||||
property var svgImagePaths: []
|
||||
|
||||
onLevelChanged: {
|
||||
if (level) {
|
||||
//! initialization on startup, this way when changing from indicator that changes them
|
||||
//! at an indicator that is not using them at all, their values are restored
|
||||
level.requested.iconOffsetX = 0;
|
||||
level.requested.iconOffsetY = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user