X-Git-Url: https://git.artsoft.org/rocksndiamonds.git/?a=blobdiff_plain;f=src%2Feditor.c;h=fc122b245a5e44ba39fb617ce8b1e79e32effd12;hb=a0bf1f7caa9235d7f86898a216f0b8449bf08023;hp=8e66e99c3d0c97f021bc5e702b43750a42db66ba;hpb=0b83ad70b6fea23f073d7ab0f5b6e82035fcc74a;p=rocksndiamonds.git 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)