mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-23 13:33:50 +03:00
provide default scheme file for !shown cases
--when the colorizer informs the applets to paint themselves based on the current plasma theme some of them (e.g. Window Buttons) may still need access to that color palette through the schemeFile variable. To support also this case Latte provides the default theme scheme file at all cases.
This commit is contained in:
parent
c81e97f24d
commit
50ea2e1f8b
@ -87,8 +87,8 @@ Loader{
|
||||
readonly property color buttonFocusColor: theme.buttonFocusColor
|
||||
|
||||
readonly property string scheme: {
|
||||
if (applyTheme===theme) {
|
||||
return applyTheme.defaultTheme.schemeFile;
|
||||
if (applyTheme===theme || !mustBeShown) {
|
||||
return themeExtended.defaultTheme.schemeFile;
|
||||
}
|
||||
|
||||
return applyTheme.schemeFile;
|
||||
|
Loading…
Reference in New Issue
Block a user