From e84e5addec398d1c102d24d2c39d4e5e5b003b17 Mon Sep 17 00:00:00 2001 From: mert Date: Mon, 1 Mar 2021 06:24:58 +0300 Subject: [PATCH] Draw: Hide items that does not have functionality from notebookbar Change-Id: I1914136d9a0f442463d1ab94eb2b2e32b1685c07 Signed-off-by: mert --- .../src/control/Control.NotebookbarBuilder.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/loleaflet/src/control/Control.NotebookbarBuilder.js b/loleaflet/src/control/Control.NotebookbarBuilder.js index 0a8302335..cd0259f58 100644 --- a/loleaflet/src/control/Control.NotebookbarBuilder.js +++ b/loleaflet/src/control/Control.NotebookbarBuilder.js @@ -170,6 +170,20 @@ L.Control.NotebookbarBuilder = L.Control.JSDialogBuilder.extend({ this._toolitemHandlers['.uno:BezierSmooth'] = function() {}; this._toolitemHandlers['.uno:GlueEditMode'] = function() {}; + /*Draw Home Tab*/ + this._toolitemHandlers['.uno:ZoomMode'] = function() {}; + this._toolitemHandlers['.uno:ObjectAlign'] = function() {}; + this._toolitemHandlers['.uno:ObjectPosition'] = function() {}; + this._toolitemHandlers['.uno:GlueInsertPoint'] = function() {}; + this._toolitemHandlers['.uno:SnapPoints'] = function() {}; + this._toolitemHandlers['.uno:SnapBorder'] = function() {}; + this._toolitemHandlers['.uno:HelplinesMove'] = function() {}; + this._toolitemHandlers['.uno:SnapFrame'] = function() {}; + this._toolitemHandlers['.uno:HelplinesVisible'] = function() {}; + this._toolitemHandlers['.uno:HelplinesUse'] = function() {}; + this._toolitemHandlers['.uno:GridVisible'] = function() {}; + this._toolitemHandlers['.uno:GridUse'] = function() {}; + /*Graphic Tab*/ this._toolitemHandlers['.uno:Crop'] = function() {}; this._toolitemHandlers['.uno:GraphicFilterToolbox'] = function() {};