projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed event handling on (not yet functional) virtual buttons setup screen
[rocksndiamonds.git]
/
src
/
screens.c
diff --git
a/src/screens.c
b/src/screens.c
index 6d23dc804edd6e71a7133f436d212bc7bb277e75..1c1efa62b309d5a0482ec6ca513a6fc8b1baa3d2 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-7205,11
+7205,13
@@
boolean ConfigureVirtualButtonsMain()
FadeIn(REDRAW_FIELD);
+ SetOverlayShowGrid(TRUE);
+
while (!finished)
{
Event event;
-
if
(NextValidEvent(&event))
+
while
(NextValidEvent(&event))
{
switch (event.type)
{
@@
-7285,6
+7287,8
@@
boolean ConfigureVirtualButtonsMain()
BackToFront();
}
+ SetOverlayShowGrid(FALSE);
+
return success;
}