mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-25 09:46:00 +01:00
fix var name
modified: src/config/ConfigManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp Signed-off-by: MightyPlaza <123664421+MightyPlaza@users.noreply.github.com>
This commit is contained in:
parent
4ed0cd74d1
commit
bc62facc80
2 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ void CConfigManager::setDefaultVars() {
|
|||
configValues["group:groupbar:font"].strValue = "Sans";
|
||||
configValues["group:groupbar:height"].intValue = 20;
|
||||
configValues["group:groupbar:mode"].intValue = 1;
|
||||
configValues["group:groupbar:internal_border"].intValue = 1;
|
||||
configValues["group:groupbar:internal_bar"].intValue = 1;
|
||||
configValues["group:groupbar:render_titles"].intValue = 1;
|
||||
configValues["group:groupbar:scrolling"].intValue = 1;
|
||||
configValues["group:groupbar:text_color"].intValue = 0xffffffff;
|
||||
|
|
|
@ -345,7 +345,7 @@ void CHyprGroupBarDecoration::refreshGradients() {
|
|||
void CHyprGroupBarDecoration::forceReload(CWindow* pWindow) {
|
||||
static auto* const PMODE = &g_pConfigManager->getConfigValuePtr("group:groupbar:mode")->intValue;
|
||||
static auto* const PHEIGHT = &g_pConfigManager->getConfigValuePtr("group:groupbar:height")->intValue;
|
||||
static auto* const PINTERNALBORDER = &g_pConfigManager->getConfigValuePtr("group:groupbar:internal_border")->intValue;
|
||||
static auto* const PINTERNALBORDER = &g_pConfigManager->getConfigValuePtr("group:groupbar:internal_bar")->intValue;
|
||||
|
||||
m_iBarInternalHeight = *PHEIGHT + (*PMODE == 1 ? BAR_INDICATOR_HEIGHT + BAR_INTERNAL_PADDING : 0);
|
||||
m_iBarFullHeight = m_iBarInternalHeight + BAR_INTERNAL_PADDING + BAR_EXTERNAL_PADDING;
|
||||
|
|
Loading…
Reference in a new issue