mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 15:40:10 +00:00
Track LGraphState.draggingCanvas (#409)
* Track LGraphState.draggingCanvas * nit
This commit is contained in:
@@ -264,7 +264,6 @@ export class LGraphCanvas {
|
||||
|
||||
set isDragging(value: boolean) {
|
||||
this.state.draggingItems = value
|
||||
this.#updateCursorStyle()
|
||||
}
|
||||
|
||||
get hoveringOver(): CanvasItem {
|
||||
@@ -293,6 +292,7 @@ export class LGraphCanvas {
|
||||
|
||||
set dragging_canvas(value: boolean) {
|
||||
this.state.draggingCanvas = value
|
||||
this.#updateCursorStyle()
|
||||
}
|
||||
// #endregion Legacy accessors
|
||||
|
||||
|
||||
Reference in New Issue
Block a user