mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-20 23:04:06 +00:00
Update src/LGraphCanvas.ts
Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com>
This commit is contained in:
@@ -3501,7 +3501,7 @@ export class LGraphCanvas {
|
||||
if (e.keyCode == 32) {
|
||||
// space
|
||||
this.read_only = false
|
||||
this.dragging_canvas = this._previously_dragging_canvas && this.pointer.isDown
|
||||
this.dragging_canvas = this._previously_dragging_canvas && this.pointer.isDown ?? false
|
||||
this._previously_dragging_canvas = null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user