diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-06-05 20:25:15 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-06-05 20:25:15 +0200 |
| commit | e9bcc710ff40cd257de242a2ff3b68feb7b68cac (patch) | |
| tree | c209c55191ccedc1f8cedc7326ef89bdf5704242 /src/components/Scrollbar.hpp | |
| parent | 2a4a20beefa533730d85a75bbc2dc6676fa247b5 (diff) | |
Debug bugs during canvas resize
Diffstat (limited to 'src/components/Scrollbar.hpp')
| -rw-r--r-- | src/components/Scrollbar.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/Scrollbar.hpp b/src/components/Scrollbar.hpp index fa49eca..c313c69 100644 --- a/src/components/Scrollbar.hpp +++ b/src/components/Scrollbar.hpp @@ -9,6 +9,8 @@ class Scrollbar : public Component { Element bg,bar; double DragY,DragX; bool Trigger; + /// @brief Canvas size cache used to reset on resize + double CanvasWidth, CanvasHeight; public: Scrollbar(Status* s,bool IsHorizontal); void Refresh(); |
