diff options
author | Sarper Akdemir <sarper.akdemir.extern@allotropia.de> | 2023-07-12 17:15:13 +0300 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2023-07-21 14:32:16 +0200 |
commit | 83f7c6fe5bb233fa9827ff968710822b95562075 (patch) | |
tree | 11da6c859f2a95e4015d23cf710ece36d5f94666 /svx/source | |
parent | 3a23c6c7a38317794cc7e8894e6a82f4418c8c6d (diff) |
tdf#50725: sd: add new configuration option DragThresholdPixels
Adds new expert configuration option DragThresholdPixels for
Impress and Draw under Misc/DragThresholdPixels.
Also bumps up the previous hardcoded default
value from 2 to 6.
Assuming this value was set when 640x480 resolution was the
most common resolution, currently scaling the hardcoded
default by 3 makes sense.
(eg. GTK uses 8 pixels as the default)
Change-Id: I35c0eed3ce477685c759f517471ce0bdc8315864
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154379
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/svdraw/svddrgv.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/svdraw/svddrgv.cxx b/svx/source/svdraw/svddrgv.cxx index 9616b85bcb4c..8b9567c20be0 100644 --- a/svx/source/svdraw/svddrgv.cxx +++ b/svx/source/svdraw/svddrgv.cxx @@ -47,6 +47,7 @@ SdrDragView::SdrDragView(SdrModel& rSdrModel, OutputDevice* pOut) , mpDragHdl(nullptr) , mpInsPointUndo(nullptr) , meDragHdl(SdrHdlKind::Move) + , mnDragThresholdPixels(6) , mbFramDrag(false) , mbMarkedHitMovesAlways(false) , mbDragLimit(false) |