summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2020-03-18 16:54:36 +0100
committerAndras Timar <andras.timar@collabora.com>2020-03-18 16:56:29 +0100
commitc959dc2bd2fdb4705948c67d0a575dcd862bffd8 (patch)
tree550528931ecc592ebb0e7ec4b0f3e615947f30be
parent8f551b3253c8ff8361a872565c45bb63a7e5de0d (diff)
context menu contains WrapThroughTransparencyToggle, not WrapThroughTransparent
With this change we can have "In Background" option in Wrap context menu, that puts the image behind the text. Change-Id: Ibd652bb593dd5a737bed3b4447be5b4bee7d4b70
-rw-r--r--loleaflet/src/control/Control.ContextMenu.js2
-rw-r--r--loleaflet/src/unocommands.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/loleaflet/src/control/Control.ContextMenu.js b/loleaflet/src/control/Control.ContextMenu.js
index dfa408382..3a81d430c 100644
--- a/loleaflet/src/control/Control.ContextMenu.js
+++ b/loleaflet/src/control/Control.ContextMenu.js
@@ -26,7 +26,7 @@ L.Control.ContextMenu = L.Control.extend({
'AnchorMenu', 'SetAnchorToPage', 'SetAnchorToPara', 'SetAnchorAtChar',
'SetAnchorToChar', 'SetAnchorToFrame',
'WrapMenu', 'WrapOff', 'WrapOn', 'WrapIdeal', 'WrapLeft', 'WrapRight', 'WrapThrough',
- 'WrapThroughTransparent', 'WrapContour', 'WrapAnchorOnly',
+ 'WrapThroughTransparencyToggle', 'WrapContour', 'WrapAnchorOnly',
'ArrangeFrameMenu', 'ArrangeMenu', 'BringToFront', 'ObjectForwardOne', 'ObjectBackOne', 'SendToBack',
'RotateMenu', 'RotateLeft', 'RotateRight', 'TransformDialog', 'FormatLine', 'FormatArea',
'FormatChartArea', 'InsertTitles', 'InsertRemoveAxes',
diff --git a/loleaflet/src/unocommands.js b/loleaflet/src/unocommands.js
index c8cf31684..8afdff7a4 100644
--- a/loleaflet/src/unocommands.js
+++ b/loleaflet/src/unocommands.js
@@ -335,7 +335,7 @@ var unoCommandsArray = {
WrapRight:{text:{menu:_('Wrap Right'),},},
WrapText:{spreadsheet:{menu:_('Wrap Text'),},},
WrapThrough:{text:{menu:_('~Wrap Through'),},},
- WrapThroughTransparent:{text:{menu:_('In ~Background'),},},
+ WrapThroughTransparencyToggle:{text:{menu:_('In ~Background'),},},
ZoomMinus:{global:{menu:_('Zoom Out'),},},
ZoomPlus:{global:{menu:_('Zoom In'),},},
};