feat: CSS mit Bootstrap für mobil beschreibbare Toolbar-Elemente anordnen

This commit is contained in:
Developer 02
2024-10-14 17:24:49 +02:00
parent 1dd9ce6bbc
commit 24e6ffc5ef
3 changed files with 78 additions and 27 deletions

View File

@@ -52,14 +52,14 @@
static addToolbarItems(instance, handler) {
var toolbarItems = instance.toolbarItems.filter((item) => UI.allowedToolbarItems.includes(item.type));
if(!IS_READONLY)
if (!IS_READONLY)
toolbarItems = toolbarItems.concat(UI.getWritableItems(handler));
if(!IS_DESKTOP && !IS_READONLY)
if (!IS_DESKTOP && !IS_READONLY)
toolbarItems = toolbarItems.concat(UI.getMobileWritableItems(handler));
instance.setToolbarItems(toolbarItems)
instance.setToolbarItems(toolbarItems)
}
static annotationRenderer(data) {