This commit is contained in:
DrJKL
2024-04-20 01:22:05 -07:00
parent 281a25a91b
commit 6f7de0bd0d
+3
View File
@@ -45,6 +45,9 @@ export class Bookmark extends RgthreeBaseVirtualNode {
if (['input', 'textarea'].includes(target.localName)) {
return;
}
if (event.ctrlKey || event.metaKey || event.altKey) {
return;
}
if (event.key.toLocaleLowerCase() === this.widgets[0].value.toLocaleLowerCase()) {
this.canvasToBookmark();
}