Clear the sliders on resize to avoid duplicating them.
This commit is contained in:
parent
c5f100c2e5
commit
9fb850193a
1 changed files with 1 additions and 0 deletions
|
@ -634,6 +634,7 @@ bool theme::set_resolution(const SDL_Rect& screen)
|
|||
status_.clear();
|
||||
menus_.clear();
|
||||
actions_.clear();
|
||||
sliders_.clear();
|
||||
|
||||
add_object(*current);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue