Cleanup Theme-related Code (#4450)

This commit is contained in:
nerix
2023-03-17 20:53:03 +01:00
committed by GitHub
parent 85b982bb69
commit 93a9e41d31
8 changed files with 94 additions and 215 deletions
+2 -2
View File
@@ -51,12 +51,12 @@ void NotebookButton::paintEvent(QPaintEvent *event)
if (mouseDown_ || mouseOver_)
{
background = this->theme->tabs.regular.backgrounds.hover.color();
background = this->theme->tabs.regular.backgrounds.hover;
foreground = this->theme->tabs.regular.text;
}
else
{
background = this->theme->tabs.regular.backgrounds.regular.color();
background = this->theme->tabs.regular.backgrounds.regular;
foreground = this->theme->tabs.regular.text;
}