diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-09-25 14:45:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-09-25 22:23:08 +0200 |
commit | 45ff1bdf2690e00b8df2803b33b1ac24eb405acf (patch) | |
tree | 6d32001816d212e916745c9a90d707d9cbb62705 /include/svx/svdoashp.hxx | |
parent | Reorganization of impress's slide and pane context menus (diff) | |
download | core-45ff1bdf2690e00b8df2803b33b1ac24eb405acf.tar.gz core-45ff1bdf2690e00b8df2803b33b1ac24eb405acf.zip |
Improve resizing chevrons so the control point is a fixed distance from end
during resizing, because...
"If I want to use LibreOffice Draw to illustrate process steps with chevrons
(which I do a lot, working on for example customer project roadmaps), I always
get stuck if the steps I want to illustrate are not equal lengths, because the
sizes/angles of the chevron "arrow heads" are proportional to the length of the
chevron, rather than being fixed, and thus don't "fit" together. Which makes
for an incredibly ugly diagram."
Change-Id: Ib8b5e0ea7db5383cae754127023f7ab12d748537
Reviewed-on: https://gerrit.libreoffice.org/42754
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx/svdoashp.hxx')
-rw-r--r-- | include/svx/svdoashp.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/svdoashp.hxx b/include/svx/svdoashp.hxx index ea222ed578de..85f5e9dc68ca 100644 --- a/include/svx/svdoashp.hxx +++ b/include/svx/svdoashp.hxx @@ -57,11 +57,12 @@ enum class CustomShapeHandleModes RESIZE_ABSOLUTE_Y = 8, MOVE_SHAPE = 16, ORTHO4 = 32, + RESIZE_ABSOLUTE_NEGX = 64 }; namespace o3tl { - template<> struct typed_flags<CustomShapeHandleModes> : is_typed_flags<CustomShapeHandleModes, 63> {}; + template<> struct typed_flags<CustomShapeHandleModes> : is_typed_flags<CustomShapeHandleModes, 127> {}; } struct SdrCustomShapeInteraction |