Commit Graph

10 Commits

Author SHA1 Message Date
Alexandre Bury
e096dc9740 Run cargo fix --edition-idioms 2019-02-28 15:55:10 -08:00
Alexandre Bury
e51be07e5d Update to Rust 2018
Run `cargo fix --edition` and update Cargo.toml
2019-02-28 15:54:12 -08:00
Alexandre Bury
28ce8ca8bd Rename Finder::find_id -> Finder::call_on_id and add proper find_id
The previous naming looked like a bad case of copy-pasta.
2019-02-21 11:21:06 -08:00
Alexandre Bury
9b3b16f64d Fix important_size for SelectView and ListView 2018-10-18 13:36:17 -07:00
Alexandre Bury
2088d5de2a Cargo fmt 2018-05-17 17:37:39 -07:00
Alexandre Bury
39babacbf5 Add AnyCb type alias 2018-04-16 22:39:16 -07:00
Alexandre Bury
bd3ea469e9 Add View::important_area
In preparation for ScrollView
2018-03-16 18:07:01 -07:00
Alexandre Bury
92c1d1a5b2 Rename Vec4 -> Margins 2018-03-16 16:06:35 -07:00
Alexandre Bury
9bc723ab4a Do not accept any return value for callbacks
It got added so we could keep using `s.pop_layer()` in single-line callbacks.
It was confusing, and the return value was ignored anyway.
2018-03-16 15:50:56 -07:00
Alexandre Bury
1ad9a53cf7 Small refactoring 2018-03-14 15:11:27 -07:00