loleaflet/src/control/Control.ContextMenu.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit dd6256d93cb4076f368a60c8910e6415a91b9f90
Author:     Pranam Lashkari <[email protected]>
AuthorDate: Wed Mar 18 03:10:34 2020 +0530
Commit:     Andras Timar <[email protected]>
CommitDate: Tue Mar 17 23:03:29 2020 +0100

    leaflet: use "To Background" and "To Foreground" only in Writer's context 
menus
    
    These options had to be removed from Calc, because sending shape to 
background
    created multiple copies of the shape (a bug in tiled rendering?) and it was
    not possible to select the shape in the backround and to bring it again to
    foreground.
    
    Change-Id: I8293ca857978e2b0b2574a9f3b420407e35c82f2
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90675
    Tested-by: Andras Timar <[email protected]>
    Reviewed-by: Andras Timar <[email protected]>

diff --git a/loleaflet/src/control/Control.ContextMenu.js 
b/loleaflet/src/control/Control.ContextMenu.js
index bd2eb5d78..dfa408382 100644
--- a/loleaflet/src/control/Control.ContextMenu.js
+++ b/loleaflet/src/control/Control.ContextMenu.js
@@ -27,7 +27,7 @@ L.Control.ContextMenu = L.Control.extend({
                                          'SetAnchorToChar', 'SetAnchorToFrame',
                                          'WrapMenu', 'WrapOff', 'WrapOn', 
'WrapIdeal', 'WrapLeft', 'WrapRight', 'WrapThrough',
                                          'WrapThroughTransparent', 
'WrapContour', 'WrapAnchorOnly',
-                                         'ArrangeFrameMenu', 'ArrangeMenu', 
'BringToFront', 'ObjectForwardOne', 'ObjectBackOne', 'SendToBack', 
'SetObjectToBackground', 'SetObjectToForeground',
+                                         'ArrangeFrameMenu', 'ArrangeMenu', 
'BringToFront', 'ObjectForwardOne', 'ObjectBackOne', 'SendToBack',
                                          'RotateMenu', 'RotateLeft', 
'RotateRight', 'TransformDialog', 'FormatLine', 'FormatArea',
                                          'FormatChartArea', 'InsertTitles', 
'InsertRemoveAxes',
                                          'DeleteLegend', 'DiagramType', 
'DataRanges', 'DiagramData', 'View3D',
@@ -42,7 +42,7 @@ L.Control.ContextMenu = L.Control.extend({
 
                        text: ['TableInsertMenu',
                                   'InsertRowsBefore', 'InsertRowsAfter', 
'InsertColumnsBefore', 'InsertColumnsAfter',
-                                  'TableDeleteMenu',
+                                  'TableDeleteMenu', 'SetObjectToBackground', 
'SetObjectToForeground',
                                   'DeleteRows', 'DeleteColumns', 'DeleteTable',
                                   'MergeCells', 'SetOptimalColumnWidth', 
'SetOptimalRowHeight',
                                   'UpdateCurIndex','RemoveTableOf',
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to