Can now adjust color of group node resize icon.
Changed header label rendering to always be vertically centered.
Changed group node style.
Changed rename text field style.
Updated Node Editor Preferences window. Better separators. Added additional appearance options.
Removed Rounding in GridToWindowPositionNoClipped() (and DrawGrid()) which was originally meant to fix UI Sharpness. But it did not have impact in my case and without it made panning feel much smoother.
- Added the GetPortStyle(...) as virtual method at GraphEditor.
With this, users can customize the texture for different ports, and they can also modify the padding without having to overwrite the default xNode style.
This prevents many problems when working with multiple graphics.
The style properties used from Style is:
- padding-left.
- padding-right.
- normal.background, to border texture.
- active.background, to dot texture.
- Added preference to filter the nodes from the draggable context menu, to show only nodes that have ports compatible with the dragged port
- Minor modification in NodeEditorActions, to allow the filter
- Minor modification in NodeGraphEditor to use or not the filter, based in preferences
Some useful methods for research.
Now with these methods and the previous commit it is now possible to play not only with the theme of xNode but also with the functionality of ports, nodes and noodles.
I made these variables public to be able to work with more information from GraphEditor. They are only Boolean and do not pose any danger.
- IsDraggingPort:
- IsHoveringPort
- IsHoveringNode
- IsHoveringReroute
* add a drag threshold so right clicks are better distinguished from right drags especially on large screens
* ignore mac files too
* dont use less than 1 as a drag threshold
Co-authored-by: Chris Fairclough <chris@zulleon.com>
1. Add a node
2. Drag a port and create a new node that it connects to
3. Delete that latest node
4. Create it with just right click, the first node will autoconnect to it
Complete fix to address bluriness of the UI in the Node Editor Window. Previous fixes were not all encompassing and failed to account for now even dimensions of Editor Window.