1
0
forked from noxious/client

Removed unused imports, re-added paint func, more refactor work

This commit is contained in:
2024-10-18 17:45:50 +02:00
parent 7ce054191a
commit 1e0da5f7cc
5 changed files with 28 additions and 14 deletions

View File

@ -138,7 +138,9 @@ function cycleToolMode(tool: 'pencil' | 'eraser') {
}
function initKeyShortcuts(event: KeyboardEvent) {
// Check if zone is set
if (!zoneEditorStore.zone) return
// prevent if focused on composables
if (document.activeElement?.tagName === 'INPUT') return