mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-30 12:19:04 +00:00
Set the theme of ColorButton popups correctly if they are created
This commit is contained in:
parent
f4ed3ae321
commit
613cd38daa
@ -1,5 +1,5 @@
|
||||
// Aseprite
|
||||
// Copyright (C) 2020 Igara Studio S.A.
|
||||
// Copyright (C) 2020-2021 Igara Studio S.A.
|
||||
// Copyright (C) 2001-2018 David Capello
|
||||
//
|
||||
// This program is distributed under the terms of
|
||||
@ -116,6 +116,9 @@ void ColorButton::onInitTheme(InitThemeEvent& ev)
|
||||
{
|
||||
ButtonBase::onInitTheme(ev);
|
||||
setStyle(SkinTheme::instance()->styles.colorButton());
|
||||
|
||||
if (m_window)
|
||||
m_window->initTheme();
|
||||
}
|
||||
|
||||
bool ColorButton::onProcessMessage(Message* msg)
|
||||
|
Loading…
Reference in New Issue
Block a user