custom layers

This commit is contained in:
vcoppe
2024-06-26 17:19:41 +02:00
parent 0d9da3475c
commit c7fd2fe6b5
8 changed files with 335 additions and 26 deletions

View File

@@ -395,8 +395,10 @@
cutSelection();
e.preventDefault();
} else if (e.key === 'v' && (e.metaKey || e.ctrlKey)) {
pasteSelection();
e.preventDefault();
if (e.target.tagName !== 'INPUT' && e.target.tagName !== 'TEXTAREA') {
pasteSelection();
e.preventDefault();
}
} else if ((e.key === 's' || e.key == 'S') && (e.metaKey || e.ctrlKey)) {
if (e.shiftKey) {
exportAllFiles();