Closed roblunx closed 3 years ago
Merged as this is a clear improvement, thanks!
It is not yet perfect though. If you place a node corner directly at the corner of background grid and zoom in/out, you can see a little gap sometimes appear between grid and node. This might be an issue with rounding/flooring of grid or node rect coordinates. But it is a battle for another day, thank you!
Note that this only fixes zooming as how nodes are composed in ImNodes::Ez, not the general case.
Widgets used in the content area might need to alter the styles accordingly too.