ComfyUI_frontend icon indicating copy to clipboard operation
ComfyUI_frontend copied to clipboard

[Feature Request]: Drag and Drop guides

Open LukeG89 opened this issue 1 year ago • 5 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

After the implementation of the "Snap to grid" option from Custom Scripts in version 1.3.13, my beloved "drag and drop guides" are gone: drag_and_drop_guides

Since this is now a core feature, can you implement the guides as well?

Proposed workflow

.

Additional information

No response

LukeG89 avatar Oct 09 '24 09:10 LukeG89

image

Mine are still there.

image

snowbedding avatar Oct 11 '24 04:10 snowbedding

@pandayummy You still have them because you are probably using the 1.3.11 frontend released in ComfyUI. After 1.3.13 they integrated the snap to grid feature in the core and disabled the Custom Scripts one.

I see that @huchenlei requested to split the drag and drop feature so we can have both again.

LukeG89 avatar Oct 11 '24 07:10 LukeG89

Maybe like Photoshop, hold down Shift to lock the movement direction

https://github.com/user-attachments/assets/5d902752-56bd-40b8-af35-dd3ffb25af88

hben35096 avatar Oct 13 '24 13:10 hben35096

@hben35096 You should open a new feature request only for that feature

LukeG89 avatar Oct 13 '24 14:10 LukeG89

OK, thanks for reminding

hben35096 avatar Oct 13 '24 14:10 hben35096

@huchenlei I see that @pythongosssss merged your PR, and the Drag and Drop settings are back.

But something went wrong, because the guides still don't appear.

https://github.com/user-attachments/assets/748d91a4-1677-4819-a301-c73112e83317

No errors in Console and just a few nodes enabled when testing.

I see that there is still the Snap to Grid extension disabled (and it can't be enabled)

stg_disabled

Could it be the cause?

LukeG89 avatar Oct 23 '24 20:10 LukeG89

Not working +1

snowbedding avatar Oct 23 '24 20:10 snowbedding

Wait, I just discovered by accident that guide lines only appear when you hold Shift (they were always on before).

https://github.com/user-attachments/assets/929ac982-b1b5-4bb9-b18b-68e6b0318b79

I like it!

But only lines work, not block.

LukeG89 avatar Oct 24 '24 09:10 LukeG89

Guidelines are back! 🎉

Thanks @huchenlei! ❤️

LukeG89 avatar Oct 24 '24 19:10 LukeG89