projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b83ad7
)
fixed custom element change page gadget events in level editor
4.3.5.3
author
Holger Schemel
<info@artsoft.org>
Sat, 1 Apr 2023 10:50:02 +0000
(12:50 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sat, 1 Apr 2023 10:50:02 +0000
(12:50 +0200)
src/editor.c
patch
|
blob
|
history
diff --git
a/src/editor.c
b/src/editor.c
index 8e66e99c3d0c97f021bc5e702b43750a42db66ba..fc122b245a5e44ba39fb617ce8b1e79e32effd12 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-7050,7
+7050,7
@@
static void CreateGraphicbuttonGadgets(void)
int gd_y1 = gd->src_y;
int gd_x2 = gd->src_x + gd->pressed_xoffset;
int gd_y2 = gd->src_y + gd->pressed_yoffset;
- unsigned int event_mask = GD_EVENT_
PRESSED | GD_EVENT_REPEAT
ED;
+ unsigned int event_mask = GD_EVENT_
RELEAS
ED;
// determine horizontal position to the right of specified gadget
if (graphicbutton_info[i].gadget_id_align != GADGET_ID_NONE)