projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
613de64
)
changed mapping gadgets when drawing screen to choose from tree
author
Holger Schemel
<info@artsoft.org>
Sun, 18 Oct 2020 23:18:46 +0000
(
01:18
+0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 13 Dec 2020 23:57:58 +0000
(
00:57
+0100)
This change allows for checking existence and position of scroll bar
when drawing screen to choose item from tree structure.
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index e7e901d63bc727bb61d6369a72f9b546ab4bb049..dab2b131f2ec6f36bca201f1b773f1a7f3b176ab 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-4182,8
+4182,8
@@
static void DrawChooseTree(TreeInfo **ti_ptr)
OpenDoor(GetDoorState() | DOOR_NO_DELAY | DOOR_FORCE_REDRAW);
- HandleChooseTree(0, 0, 0, 0, MB_MENU_INITIALIZE, ti_ptr);
MapScreenTreeGadgets(*ti_ptr);
+ HandleChooseTree(0, 0, 0, 0, MB_MENU_INITIALIZE, ti_ptr);
DrawMaskedBorder(fade_mask);