Clear the sliders on resize to avoid duplicating them.

This commit is contained in:
fendrin 2013-05-12 19:45:21 +02:00
parent c5f100c2e5
commit 9fb850193a

View file

@ -634,6 +634,7 @@ bool theme::set_resolution(const SDL_Rect& screen)
status_.clear();
menus_.clear();
actions_.clear();
sliders_.clear();
add_object(*current);