From: Holger Schemel Date: Sat, 1 Apr 2023 10:50:02 +0000 (+0200) Subject: fixed custom element change page gadget events in level editor X-Git-Tag: 4.3.5.3^0 X-Git-Url: https://git.artsoft.org/rocksndiamonds.git/?a=commitdiff_plain;h=a0bf1f7caa9235d7f86898a216f0b8449bf08023;p=rocksndiamonds.git fixed custom element change page gadget events in level editor --- diff --git a/src/editor.c b/src/editor.c index 8e66e99c..fc122b24 100644 --- 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_REPEATED; + unsigned int event_mask = GD_EVENT_RELEASED; // determine horizontal position to the right of specified gadget if (graphicbutton_info[i].gadget_id_align != GADGET_ID_NONE)