mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-30 18:24:04 +03:00
a5b6dca62a
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) |
||
---|---|---|
.. | ||
pkg | ||
src | ||
Cargo.toml | ||
index.html | ||
run_web.sh |