custom theme multiplier support (#825)
This commit is contained in:
@@ -66,7 +66,8 @@ public:
|
||||
BoolSetting showTitle = {"/appearance/splitheader/showTitle", false};
|
||||
BoolSetting showGame = {"/appearance/splitheader/showGame", false};
|
||||
BoolSetting showUptime = {"/appearance/splitheader/showUptime", false};
|
||||
|
||||
FloatSetting customThemeMultiplier = {"/appearance/customThemeMultiplier",
|
||||
-0.5f};
|
||||
// BoolSetting useCustomWindowFrame = {"/appearance/useCustomWindowFrame",
|
||||
// false};
|
||||
|
||||
|
||||
@@ -28,6 +28,9 @@ namespace detail {
|
||||
{
|
||||
return -0.8;
|
||||
}
|
||||
else if (themeName == "Custom") {
|
||||
return getSettings()->customThemeMultiplier.getValue();
|
||||
}
|
||||
|
||||
return -0.8;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user