mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-25 15:33:44 +03:00
CR: use already-defined transition
This commit is contained in:
parent
014bd56379
commit
cf14515110
@ -3,9 +3,7 @@ use sim::{TripEndpoint, TripID, TripPhaseType};
|
||||
use widgetry::table::{Col, Filter, Table};
|
||||
use widgetry::{EventCtx, Filler, GfxCtx, Line, Outcome, Panel, State, Text, Toggle, Widget};
|
||||
|
||||
type Transition = widgetry::Transition<App>;
|
||||
|
||||
use crate::app::App;
|
||||
use crate::app::{App, Transition};
|
||||
use crate::sandbox::dashboards::generic_trip_table::{open_trip_transition, preview_trip};
|
||||
use crate::sandbox::dashboards::DashTab;
|
||||
|
||||
|
@ -9,12 +9,10 @@ use widgetry::{
|
||||
};
|
||||
|
||||
use super::generic_trip_table::{open_trip_transition, preview_trip};
|
||||
use crate::app::App;
|
||||
use crate::app::{App, Transition};
|
||||
use crate::common::{checkbox_per_mode, cmp_duration_shorter, color_for_mode};
|
||||
use crate::sandbox::dashboards::DashTab;
|
||||
|
||||
pub type Transition = widgetry::Transition<App>;
|
||||
|
||||
pub struct TripTable {
|
||||
tab: DashTab,
|
||||
table_tabs: TabController,
|
||||
|
Loading…
Reference in New Issue
Block a user