Skip to content

Commit

Permalink
fixed simulator window after restore
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Jul 14, 2021
1 parent 38b5459 commit 722c98c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/eez/platform/simulator/events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 722c98c

Please sign in to comment.