From 722c98ce53b5196a8b36377d35ae68476f1f0f07 Mon Sep 17 00:00:00 2001 From: Martin Vladic Date: Wed, 14 Jul 2021 16:41:02 +0200 Subject: [PATCH] fixed simulator window after restore --- src/eez/platform/simulator/events.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/eez/platform/simulator/events.cpp b/src/eez/platform/simulator/events.cpp index cfd4977a6..6378dd496 100644 --- a/src/eez/platform/simulator/events.cpp +++ b/src/eez/platform/simulator/events.cpp @@ -65,6 +65,8 @@ void readEvents() { yMouseWheel += event.wheel.y; } else if (event.type == SDL_KEYDOWN) { keyboard::onKeyboardEvent(&event.key); + } else if (event.type == SDL_WINDOWEVENT) { + eez::gui::refreshScreen(); } if (event.type == SDL_QUIT) {