mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
PixelPaint: Let Layer track whether it's selected or not
This will simplify a lot of code that keeps getting more confusing.
This commit is contained in:
parent
18d68c8c94
commit
b5788594f9
3 changed files with 16 additions and 20 deletions
|
@ -72,7 +72,6 @@ private:
|
|||
Gfx::Rect rect;
|
||||
Gfx::Rect temporary_rect_during_move;
|
||||
bool is_moving { false };
|
||||
bool is_selected { false };
|
||||
Gfx::Point movement_delta;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue