Fattorino / ImNodeFlow

Node based editor/blueprints for ImGui
MIT License
119 stars 15 forks source link

Auto grid #18

Closed fenix31415 closed 3 months ago

fenix31415 commented 3 months ago

Auto scale grid with zoom.

With big/small zoom (larger than default bounds) grid is inconvenient. As well as it may contain too many lines.

I tried to fix this.

Fattorino commented 3 months ago

I closed this PR simply because I still want the grid to get smaller as you zoom out, but I removed the finer lines after a threshold to free up some vertices.