abstreet/osm_viewer
Michael Kirk a5b6dca62a replace Btn::text_bg2 w/ regex
In case I have to revisit, here's the regex I used:
    Btn::text_bg2\(([^)]*)\)*.build_def\(ctx, ([^()]*)\)
    ctx.style().btn_primary_dark_text($1).hotkey($2).build_def(ctx)

And something like this for the "no hotkey" case
    Btn::text_bg2\(([^)]*)\)*.build_def\(ctx, None\)
    ctx.style().btn_primary_dark_text($1).build_def(ctx)
2021-01-21 15:25:46 -08:00
..
pkg Also deploy the OSM viewer and 15 min tool to the web 2020-12-18 12:36:19 -08:00
src replace Btn::text_bg2 w/ regex 2021-01-21 15:25:46 -08:00
Cargo.toml Fix web build after rand upgrade. Unfortunately I think this has to happen in all of the binary crates individually: https://docs.rs/getrandom/0.2.1/getrandom/#indirect-dependencies 2021-01-05 11:12:03 -08:00
index.html Also deploy the OSM viewer and 15 min tool to the web 2020-12-18 12:36:19 -08:00
run_web.sh Also deploy the OSM viewer and 15 min tool to the web 2020-12-18 12:36:19 -08:00