jagenjo / litegraph.js

A graph node engine and editor written in Javascript similar to PD or UDK Blueprints, comes with its own editor in HTML5 Canvas2D. The engine can run client side or server side using Node. It allows to export graphs as JSONs to be included in applications independently.
MIT License
5.33k stars 602 forks source link

Fix CSS selector for dialog class #460

Open tholeb opened 1 month ago

tholeb commented 1 month ago

When trying to edit nodes, I realized that the dialog were not there : image

After a quick look at the CSS, I found that every class for the dialogs are like so : .litegraph .dialog, which means that the HTML is supposed to be like so :

...
    <div class="litegraph">
        <div class="dialog">
        ...
        </div>
    </div>
...

But, the HTML is :

...
    <div class="litegraph dialog settings">
        ...
    </div>
...

The CSS should not have that space char in the selector.

After a quick edit (simply replaced every .litegraph .dialog to .litegraph.dialog) here is the result : image

I sure can't be the only one reporting this, right ?

daniel-lewis-ab commented 1 week ago

Applied to my fork.