added redrawing zoom gadget info text after zooming in level editor
authorHolger Schemel <info@artsoft.org>
Fri, 10 Mar 2017 14:48:25 +0000 (15:48 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:10 +0000 (23:21 +0100)
src/editor.c

index a0ea06303c4d44ce0d414084287840b7ce701434..c07624c4529d9a9019f79b2f06db51f2d8095a6b 100644 (file)
@@ -12417,8 +12417,13 @@ static void HandleControlButtons(struct GadgetInfo *gi)
       InitZoomLevelSettings();
 
       if (edit_mode == ED_MODE_DRAWING)
+      {
        DrawDrawingWindow();
 
+       /* redraw zoom gadget info text */
+       PrintEditorGadgetInfoText(level_editor_gadget[id]);
+      }
+
       break;
 
     case GADGET_ID_CUSTOM_COPY_FROM: