mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
PixelPaint: Cleanup the Image class
This patch just introduces some general cleanup regarding unused imports and adding the const qualifier to eligible functions and variables.
This commit is contained in:
parent
e89c649be1
commit
bd65ecf05c
4 changed files with 35 additions and 38 deletions
|
@ -83,7 +83,7 @@ void Layer::did_modify_bitmap(Gfx::IntRect const& rect, NotifyClients notify_cli
|
|||
|
||||
// NOTE: If NotifyClients::NO is passed to this function the caller should handle notifying
|
||||
// the clients of any bitmap changes.
|
||||
if (notify_clients == NotifyClients::YES)
|
||||
if (notify_clients == NotifyClients::Yes)
|
||||
m_image.layer_did_modify_bitmap({}, *this, rect);
|
||||
update_cached_bitmap();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue