mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:17:34 +00:00
PixelPaint: Don't repaint area outside image when image itself changed
This commit is contained in:
parent
e7b8f6fe48
commit
b650bb602a
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ void ImageEditor::relayout()
|
||||||
|
|
||||||
void ImageEditor::image_did_change()
|
void ImageEditor::image_did_change()
|
||||||
{
|
{
|
||||||
update();
|
update(m_editor_image_rect);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ImageEditor::image_did_change_title(String const& path)
|
void ImageEditor::image_did_change_title(String const& path)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue