projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added updating virtual buttons setup screen depending on screen orientation
[rocksndiamonds.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index 2120931852677da9e9a8e70cd4692aa341a77b18..9aad2bca87dfa837891244e5099d004c97a7d629 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-649,12
+649,7
@@
void HandleWindowEvent(WindowEvent *event)
int x, y;
if (game_status == GAME_MODE_SETUP)
int x, y;
if (game_status == GAME_MODE_SETUP)
- {
- // save active virtual buttons (in case of just configuring them)
- for (x = 0; x < MAX_GRID_XSIZE; x++)
- for (y = 0; y < MAX_GRID_YSIZE; y++)
- setup.touch.grid_button[nr][x][y] = overlay.grid_button[x][y];
- }
+ RedrawSetupScreenAfterScreenRotation(nr);
nr = GRID_ACTIVE_NR();
nr = GRID_ACTIVE_NR();