diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2022-06-26 00:12:23 +0430 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-06-26 22:21:17 +0100 |
commit | db4a5aafc868a74c0c09eaaa199bcf39a8ac3559 (patch) | |
tree | 2dd101d26217799366217e618ad1800fdeca5f8c /Userland/Applications/Spreadsheet/SpreadsheetView.h | |
parent | 64ef808aeb7605d29d79d2b8e856f340c32604e4 (diff) | |
download | serenity-db4a5aafc868a74c0c09eaaa199bcf39a8ac3559.zip |
Spreadsheet: Display a detailed view of a cell error on hover
With this, Spreadsheet can now show an almost full stack trace for the
error (which is infintely better than just the error message).
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 2723ed32a7..b6b629e8d4 100644 --- a/Userland/Applications/Spreadsheet/SpreadsheetView.h +++ b/Userland/Applications/Spreadsheet/SpreadsheetView.h @@ -78,6 +78,8 @@ private: virtual void mouseup_event(GUI::MouseEvent&) override; virtual void drop_event(GUI::DropEvent&) override; + bool is_dragging() const { return m_is_dragging_for_cut || m_is_dragging_for_extend || m_is_dragging_for_select; } + bool m_is_hovering_extend_zone { false }; bool m_is_hovering_cut_zone { false }; bool m_is_dragging_for_select { false }; |