From 0aaf601ced6a256b86b317b60a09f8ab384f30ba Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Mon, 27 Jun 2022 22:14:09 +0000 Subject: [PATCH] fix artifacts when using resize feature git-svn-id: svn://kolibrios.org@9852 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/imgedit/imgedit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/cmm/imgedit/imgedit.c b/programs/cmm/imgedit/imgedit.c index 79a9d25f6d..827a2e8026 100644 --- a/programs/cmm/imgedit/imgedit.c +++ b/programs/cmm/imgedit/imgedit.c @@ -450,7 +450,8 @@ void event_scale() $pop eax main_image.image = EAX; main_image.set_vars(); - draw_canvas(); + scroll_v.position = scroll_h.position = 0; + draw_content(); } }