mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:17:44 +00:00
Spreadsheet: On cut end select same cells in target location
When finished dragging and cutting, select the cells in the destination. E.g. if you select 5 cells and drag and paste them in a new location, select the 5 pasted cells in the destination.
This commit is contained in:
parent
10bbb01ed8
commit
e98d0dafa0
2 changed files with 33 additions and 0 deletions
|
@ -76,6 +76,7 @@ private:
|
|||
virtual void mousemove_event(GUI::MouseEvent&) override;
|
||||
virtual void mousedown_event(GUI::MouseEvent&) override;
|
||||
virtual void mouseup_event(GUI::MouseEvent&) override;
|
||||
virtual void drop_event(GUI::DropEvent&) override;
|
||||
|
||||
bool m_should_intercept_drag { false };
|
||||
bool m_has_committed_to_dragging { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue