diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-06-16 15:09:29 +0430 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-06-17 01:08:27 +0430 |
commit | 16b4a78072ba69849fed545a058ed8ec61b88d70 (patch) | |
tree | 9cd26e1b6e015f60f882a64fc71b4a9ffce6f39b /Userland/Applications/Spreadsheet/SpreadsheetView.h | |
parent | a01358f015cd8899cde6112bed6224d491829a0f (diff) | |
download | serenity-16b4a78072ba69849fed545a058ed8ec61b88d70.zip |
Spreadsheet: Do not cancel drag-select when moving over a cell corner
Fixes #4277.
Diffstat (limited to 'Userland/Applications/Spreadsheet/SpreadsheetView.h')
-rw-r--r-- | Userland/Applications/Spreadsheet/SpreadsheetView.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Applications/Spreadsheet/SpreadsheetView.h b/Userland/Applications/Spreadsheet/SpreadsheetView.h index a2fa9c91d2..a02589e64a 100644 --- a/Userland/Applications/Spreadsheet/SpreadsheetView.h +++ b/Userland/Applications/Spreadsheet/SpreadsheetView.h @@ -73,10 +73,12 @@ private: } virtual void did_scroll() override; virtual void mousemove_event(GUI::MouseEvent&) override; + virtual void mousedown_event(GUI::MouseEvent&) override; virtual void mouseup_event(GUI::MouseEvent&) override; bool m_should_intercept_drag { false }; bool m_has_committed_to_dragging { false }; + bool m_is_dragging_for_copy { false }; GUI::ModelIndex m_starting_selection_index; RefPtr<Core::Timer> m_horizontal_scroll_end_timer; RefPtr<Core::Timer> m_vertical_scroll_end_timer; |