[Libreoffice-commits] online.git: loleaflet/src

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 18 16:01:59 UTC 2020


 loleaflet/src/control/Control.ContextMenu.js |    2 +-
 loleaflet/src/unocommands.js                 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c959dc2bd2fdb4705948c67d0a575dcd862bffd8
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Wed Mar 18 16:54:36 2020 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Mar 18 16:56:29 2020 +0100

    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

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'),},},
 };


More information about the Libreoffice-commits mailing list