mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-27 15:03:20 +03:00
Make the A/B test mode easier to use, but syncing up the time of the simulation directly when swapping before/after.
This commit is contained in:
parent
ee7f843ff6
commit
df854db143
@ -307,8 +307,6 @@ impl CommonState {
|
|||||||
}
|
}
|
||||||
if app.secondary.is_some() && ctx.input.pressed(lctrl(Key::Tab)) {
|
if app.secondary.is_some() && ctx.input.pressed(lctrl(Key::Tab)) {
|
||||||
app.swap_map();
|
app.swap_map();
|
||||||
}
|
|
||||||
if app.secondary.is_some() && ctx.input.pressed(lctrl(Key::A)) {
|
|
||||||
sync_abtest(ctx, app);
|
sync_abtest(ctx, app);
|
||||||
}
|
}
|
||||||
None
|
None
|
||||||
|
Loading…
Reference in New Issue
Block a user