diff options
author | Povilas Kanapickas <povilas@radix.lt> | 2022-09-02 00:04:39 +0300 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-09-05 16:20:03 +0200 |
commit | 99b85a2eda006a59306042dad5b0b1de116febf3 (patch) | |
tree | 8508c83afa26f2898609b08943cc1530f0f0830e /vcl/source/edit | |
parent | c8cc4c29369f3d5df22c0b9260c00816a7c891eb (diff) |
vcl: Rename Gesture event to GesturePan
We have 5 gesture types: GestureZoom, GestureRotate, Gesture (for
panning), Swipe and LongPress. For consistency all of these will use
Gesture as a prefix to reduce confusion and for easier grepping
throughout the codebase.
Change-Id: I8b9e245d011203a19c1172f9833c172f65382ca9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139241
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/edit')
-rw-r--r-- | vcl/source/edit/vclmedit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx index a647e2df3402..82b79b2931c3 100644 --- a/vcl/source/edit/vclmedit.cxx +++ b/vcl/source/edit/vclmedit.cxx @@ -626,7 +626,7 @@ bool ImpVclMEdit::HandleCommand( const CommandEvent& rCEvt ) if (nCommand == CommandEventId::Wheel || nCommand == CommandEventId::StartAutoScroll || nCommand == CommandEventId::AutoScroll || - nCommand == CommandEventId::Gesture) + nCommand == CommandEventId::GesturePan) { ScrollBar* pHScrollBar = mpHScrollBar->IsVisible() ? mpHScrollBar.get() : nullptr; ScrollBar* pVScrollBar = mpVScrollBar->IsVisible() ? mpVScrollBar.get() : nullptr; |