From b650bb602a69b77f719e6402a37ead53cff330f8 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 6 Jul 2021 12:16:06 +0200 Subject: [PATCH] PixelPaint: Don't repaint area outside image when image itself changed --- Userland/Applications/PixelPaint/ImageEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Applications/PixelPaint/ImageEditor.cpp b/Userland/Applications/PixelPaint/ImageEditor.cpp index 33e8705c07..bd181bb686 100644 --- a/Userland/Applications/PixelPaint/ImageEditor.cpp +++ b/Userland/Applications/PixelPaint/ImageEditor.cpp @@ -392,7 +392,7 @@ void ImageEditor::relayout() void ImageEditor::image_did_change() { - update(); + update(m_editor_image_rect); } void ImageEditor::image_did_change_title(String const& path)