diff --git a/package-lock.json b/package-lock.json index 38639a1b9..64023ab4d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "GPL-3.0-only", "dependencies": { "@atlaskit/pragmatic-drag-and-drop": "^1.3.1", - "@comfyorg/comfyui-electron-types": "^0.4.6", + "@comfyorg/comfyui-electron-types": "^0.4.7", "@comfyorg/litegraph": "^0.8.60", "@primevue/themes": "^4.0.5", "@tiptap/core": "^2.10.4", @@ -1935,9 +1935,9 @@ "dev": true }, "node_modules/@comfyorg/comfyui-electron-types": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/@comfyorg/comfyui-electron-types/-/comfyui-electron-types-0.4.6.tgz", - "integrity": "sha512-LY6AI7kMucMHU7UOAV9gGUPBUHrXXo1vxoabxupCL7xF2e8c14yHnJ4ngQogQrbwnLLax1mZfXNj/O9SyNtc9Q==", + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/@comfyorg/comfyui-electron-types/-/comfyui-electron-types-0.4.7.tgz", + "integrity": "sha512-APC3C4VZOo9W6h0xiAGxnsU9iNp3T8rN9w/5KmOCI0GUoKtKg5U2OaicTmnMwcDSQe5Jxflmej53GyJ1nH9oRw==", "license": "GPL-3.0-only" }, "node_modules/@comfyorg/litegraph": { diff --git a/package.json b/package.json index e0abb6110..46090eb64 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ }, "dependencies": { "@atlaskit/pragmatic-drag-and-drop": "^1.3.1", - "@comfyorg/comfyui-electron-types": "^0.4.6", + "@comfyorg/comfyui-electron-types": "^0.4.7", "@comfyorg/litegraph": "^0.8.60", "@primevue/themes": "^4.0.5", "@tiptap/core": "^2.10.4", diff --git a/src/assets/css/style.css b/src/assets/css/style.css index a0fee2a6f..1dc768dbc 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -764,3 +764,11 @@ audio.comfy-audio.empty-audio-widget { .p-tree-node-content { padding: var(--comfy-tree-explorer-item-padding) !important; } + +.app-drag { + app-region: drag; +} + +.no-drag { + app-region: no-drag; +} diff --git a/src/views/templates/BaseViewTemplate.vue b/src/views/templates/BaseViewTemplate.vue index e55a82ec8..ae5a5d56e 100644 --- a/src/views/templates/BaseViewTemplate.vue +++ b/src/views/templates/BaseViewTemplate.vue @@ -1,18 +1,28 @@