forked from noxious/client
Removed unused imports, re-added paint func, more refactor work
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user