mirror of https://github.com/buggins/dlangui.git
SDL: unnecessary restore modal childs after SDL_WINDOWEVENT_EXPOSED fixes #355
This commit is contained in:
parent
c1a990c0e2
commit
6d16875de9
|
@ -1258,8 +1258,6 @@ class SDLPlatform : Platform {
|
|||
break;
|
||||
case SDL_WINDOWEVENT_EXPOSED:
|
||||
debug(DebugSDL) Log.d("SDL_WINDOWEVENT_EXPOSED - ", w.windowCaption);
|
||||
if (!_windowsMinimized && w.hasVisibleModalChild())
|
||||
w.restoreModalChilds();
|
||||
w.invalidate();
|
||||
break;
|
||||
case SDL_WINDOWEVENT_MOVED:
|
||||
|
|
Loading…
Reference in New Issue