abstreet/experiment
Dustin Carlino b7f3f2113b Start refactoring a common UI pattern: recalculate some value only when (#406)
Start refactoring a common UI pattern: recalculate some value only when
a key changes.

It's quite verbose right now for some widgetry States to determine if
the mouse is over a particular type of object, check if that object has
changed since the last time, and calculate something based on it. This
introduces a new helper for expressing the pattern a little more
clearly.
2020-11-25 12:22:11 -08:00
..
src Start refactoring a common UI pattern: recalculate some value only when (#406) 2020-11-25 12:22:11 -08:00
Cargo.toml Add some basic functionality to the mysterious experiment 2020-11-24 16:33:29 -08:00