1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +00:00

Spreadsheet: Cut instead of copy when dragging a cell's items

Use cut instead of copy when dragging one or many cells' contents.
This is more intuitive as most other spreadsheet applications
handle the drag in this manner instead of as a copy operation.
This commit is contained in:
martinfalisse 2022-02-08 15:41:09 +01:00 committed by Ali Mohammad Pur
parent 8a7d2c3336
commit 2f2a705a8e
3 changed files with 13 additions and 8 deletions

View file

@ -79,7 +79,7 @@ private:
virtual void drop_event(GUI::DropEvent&) override;
bool m_is_dragging_for_select { false };
bool m_is_dragging_for_copy { false };
bool m_is_dragging_for_cut { false };
bool m_has_committed_to_cutting { false };
bool m_is_hovering_extend_zone { false };
bool m_is_hovering_cut_zone { false };