patriciogonzalezvivo / comfyui_glslnodes

GLSL node for ComfyUI
GNU General Public License v3.0
175 stars 13 forks source link

Offset on selection and mouse interaction on ACE code editor #9

Closed patriciogonzalezvivo closed 2 months ago

patriciogonzalezvivo commented 2 months ago

@melMass @sofakid Thank you both for your implementations of ACE editor inside ComfyUI. I use them as references to use it for my shaedr editor. But I'm experiencing this error where the selection is offset by X lines depending on the zoom level of ComfyUI's viewport. I was wondering if you run into this issue and how did you solve it.

Thank you

image

sofakid commented 2 months ago

Yes, cheers, glad you enjoyed it.

there is an editor setting hasCssTransforms, set that to true

patriciogonzalezvivo commented 2 months ago

That made the trick! Thank you very much!

melMass commented 2 months ago

TIL nice ! In mtb I don't use them on the node directly, so I didn't know that