FyroxEngine / Fyrox

3D and 2D game engine written in Rust
https://fyrox.rs
MIT License
7.65k stars 345 forks source link

Do not re-create the entire list of commands in `Command Stack` window #298

Closed mrDIMAS closed 3 months ago

mrDIMAS commented 2 years ago

Current approach is a bit dumb, it just re-creates bunch on Text widgets instead of syncing the state of existing widgets and create/remove to keep amount of widgets in sync with contents of the command stack. The approach is quite slow too and leads to annoying "flashes".

mrDIMAS commented 3 months ago

Turned out, that syncing is hard to do right, so closing this.