mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-17 07:10:36 +00:00
Fixed minor problem with background color in Tabs widget's buttons.
This commit is contained in:
parent
a0bbb5dfab
commit
a3f18e5aaf
@ -378,7 +378,11 @@ bool Tabs::msg_proc(JMessage msg)
|
||||
}
|
||||
|
||||
case JM_SIGNAL:
|
||||
if (msg->signal.num == JI_SIGNAL_SET_FONT) {
|
||||
if (msg->signal.num == JI_SIGNAL_INIT_THEME) {
|
||||
m_button_left->setBgColor(theme->get_tab_selected_face_color());
|
||||
m_button_right->setBgColor(theme->get_tab_selected_face_color());
|
||||
}
|
||||
else if (msg->signal.num == JI_SIGNAL_SET_FONT) {
|
||||
std::vector<Tab*>::iterator it, end = m_list_of_tabs.end();
|
||||
|
||||
for (it = m_list_of_tabs.begin(); it != end; ++it) {
|
||||
|
Loading…
Reference in New Issue
Block a user