From d48fe4a5e7ef0c62b4dc4b5af6d13e20a2c0611e Mon Sep 17 00:00:00 2001 From: Pranam Lashkari Date: Fri, 18 Feb 2022 16:23:27 +0530 Subject: [PATCH] draw: added more details in the draw status bar Signed-off-by: Pranam Lashkari Change-Id: Iff349ec26139ce4f561ce2e38a2492bda1e56780 --- browser/src/control/Control.StatusBar.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/browser/src/control/Control.StatusBar.js b/browser/src/control/Control.StatusBar.js index 71bb8a714..a57499f76 100644 --- a/browser/src/control/Control.StatusBar.js +++ b/browser/src/control/Control.StatusBar.js @@ -360,6 +360,7 @@ L.Control.StatusBar = L.Control.extend({ break; case 'presentation': + case 'drawing': if (!window.mode.isMobile()) { statusbar.insert('left', [ {type: 'break', id: 'break1'}, @@ -378,11 +379,6 @@ L.Control.StatusBar = L.Control.extend({ } ]); } - - // FALLTHROUGH intended - case 'drawing': - if (statusbar) - statusbar.show('prev', 'next'); break; }