Use blank image instead of center for unfocused buttons in editor resize dialog
This commit is contained in:
parent
66ddf6c4f8
commit
5ec5e0c92e
1 changed files with 2 additions and 2 deletions
|
@ -167,12 +167,12 @@ void teditor_resize_map::update_expand_direction(twindow& window)
|
|||
}
|
||||
for (int i = 0; i < static_cast<int>(expand_direction_); ++i) {
|
||||
direction_buttons_[i]->set_value(false);
|
||||
set_direction_icon(i, "center");
|
||||
set_direction_icon(i, "none");
|
||||
}
|
||||
direction_buttons_[expand_direction_]->set_value(true);
|
||||
for (int i = expand_direction_ + 1; i < 9; ++i) {
|
||||
direction_buttons_[i]->set_value(false);
|
||||
set_direction_icon(i, "center");
|
||||
set_direction_icon(i, "none");
|
||||
}
|
||||
|
||||
int xdiff = width_->get_widget_value(window) - old_width_ ;
|
||||
|
|
Loading…
Add table
Reference in a new issue