draw: added more details in the draw status bar

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Iff349ec26139ce4f561ce2e38a2492bda1e56780
This commit is contained in:
Pranam Lashkari 2022-02-18 16:23:27 +05:30 committed by Szymon Kłos
parent cec1a927c2
commit d48fe4a5e7

View file

@ -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;
}