X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Feditor.c;h=632810d3f2b3fd854475aeb5e39cb12177983d3e;hb=1c428c3e9e9625ec4a0fbec9129138baf3cf8a63;hp=89e82bceb61db1673d07add0a97b864cbccf29b8;hpb=1ee5fc101d2f23dd51c49257bbec3cba69aaadfe;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index 89e82bce..632810d3 100644 --- a/src/editor.c +++ b/src/editor.c @@ -11475,12 +11475,18 @@ static void HandleControlButtons(struct GadgetInfo *gi) case GADGET_ID_SCROLL_HORIZONTAL: level_xpos = gi->event.item_position - 1; + DrawEditorLevel(ed_fieldx, ed_fieldy, level_xpos, level_ypos); + BackToFront(); + break; case GADGET_ID_SCROLL_VERTICAL: level_ypos = gi->event.item_position - 1; + DrawEditorLevel(ed_fieldx, ed_fieldy, level_xpos, level_ypos); + BackToFront(); + break; case GADGET_ID_SCROLL_LIST_UP: