X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Feditor.c;h=b5aa6fb3c900f905c0a13b9d3c48f88ebcd75e9a;hp=25b7af27e0b82ddfe3a3daac10deb0f0dc04390d;hb=2ad91a136a32c9ea721e582fa507f675e82d9f19;hpb=bd43ed6d58b80faf3c927dc6f3a41284676d25d7 diff --git a/src/editor.c b/src/editor.c index 25b7af27..b5aa6fb3 100644 --- a/src/editor.c +++ b/src/editor.c @@ -11073,7 +11073,7 @@ static void HandleDrawingAreas(struct GadgetInfo *gi) SetElementButton(lx, ly, new_element, button); } } - else + else if (!button_release_event) { int type_id = gi->custom_type_id; int pos = sx * drawingarea_info[type_id].area_ysize + sy;