mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
PixelPaint: Have layers and images send out notifications on changes
We use this to automatically update the thumbnail in LayerListWidget when you draw into a layer. We also use it to repaint the ImageEditor when the image changes somehow. :^)
This commit is contained in:
parent
de85cd0907
commit
dc3de47b03
Notes:
sideshowbarker
2024-07-19 06:08:07 +09:00
Author: https://github.com/awesomekling
Commit: dc3de47b03
14 changed files with 53 additions and 12 deletions
|
@ -353,4 +353,9 @@ void ImageEditor::relayout()
|
|||
update();
|
||||
}
|
||||
|
||||
void ImageEditor::image_did_change()
|
||||
{
|
||||
update();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue