mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 03:32:48 +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:
|
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();
|
std::vector<Tab*>::iterator it, end = m_list_of_tabs.end();
|
||||||
|
|
||||||
for (it = m_list_of_tabs.begin(); it != end; ++it) {
|
for (it = m_list_of_tabs.begin(); it != end; ++it) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user