diff --git a/rustdoc/game/edit/roads/fn.build_lane_highlights.html b/rustdoc/game/edit/roads/fn.build_lane_highlights.html index adf99e7223..90fe76d234 100644 --- a/rustdoc/game/edit/roads/fn.build_lane_highlights.html +++ b/rustdoc/game/edit/roads/fn.build_lane_highlights.html @@ -1,3 +1,3 @@ build_lane_highlights in game::edit::roads - Rust -

Function game::edit::roads::build_lane_highlights[][src]

fn build_lane_highlights(
    ctx: &EventCtx<'_>,
    app: &App,
    r: RoadID,
    selected_lane: Option<LaneID>,
    hovered_lane: Option<LaneID>
) -> ((Option<LaneID>, Option<LaneID>), Drawable)
\ No newline at end of file +

Function game::edit::roads::build_lane_highlights[][src]

fn build_lane_highlights(
    ctx: &EventCtx<'_>,
    app: &App,
    r: RoadID,
    selected_lane: Option<LaneID>,
    hovered_lane: Option<LaneID>
) -> ((Option<LaneID>, Option<LaneID>), Drawable)
\ No newline at end of file diff --git a/rustdoc/game/edit/roads/fn.can_reverse.html b/rustdoc/game/edit/roads/fn.can_reverse.html index 91df698bf0..dfa146e575 100644 --- a/rustdoc/game/edit/roads/fn.can_reverse.html +++ b/rustdoc/game/edit/roads/fn.can_reverse.html @@ -1,3 +1,3 @@ can_reverse in game::edit::roads - Rust -

Function game::edit::roads::can_reverse[][src]

fn can_reverse(_: LaneType) -> bool
\ No newline at end of file +

Function game::edit::roads::can_reverse[][src]

fn can_reverse(_: LaneType) -> bool
\ No newline at end of file diff --git a/rustdoc/game/edit/roads/fn.lane_type_to_icon.html b/rustdoc/game/edit/roads/fn.lane_type_to_icon.html index a42f9ddef4..8684b57dbd 100644 --- a/rustdoc/game/edit/roads/fn.lane_type_to_icon.html +++ b/rustdoc/game/edit/roads/fn.lane_type_to_icon.html @@ -1,3 +1,3 @@ lane_type_to_icon in game::edit::roads - Rust -

Function game::edit::roads::lane_type_to_icon[][src]

fn lane_type_to_icon(lt: LaneType) -> Option<&'static str>
\ No newline at end of file +

Function game::edit::roads::lane_type_to_icon[][src]

fn lane_type_to_icon(lt: LaneType) -> Option<&'static str>
\ No newline at end of file diff --git a/rustdoc/game/edit/roads/fn.make_main_panel.html b/rustdoc/game/edit/roads/fn.make_main_panel.html index 07e47f2c3d..3468c29a93 100644 --- a/rustdoc/game/edit/roads/fn.make_main_panel.html +++ b/rustdoc/game/edit/roads/fn.make_main_panel.html @@ -1,3 +1,3 @@ make_main_panel in game::edit::roads - Rust -

Function game::edit::roads::make_main_panel[][src]

fn make_main_panel(
    ctx: &mut EventCtx<'_>,
    app: &App,
    road: &Road,
    selected_lane: Option<LaneID>,
    hovering_on_lane: Option<LaneID>
) -> Panel
\ No newline at end of file +

Function game::edit::roads::make_main_panel[][src]

fn make_main_panel(
    ctx: &mut EventCtx<'_>,
    app: &App,
    road: &Road,
    selected_lane: Option<LaneID>,
    hovering_on_lane: Option<LaneID>
) -> Panel
\ No newline at end of file diff --git a/rustdoc/game/edit/roads/fn.selected_lane_bg.html b/rustdoc/game/edit/roads/fn.selected_lane_bg.html index 4921505af0..79c00f605b 100644 --- a/rustdoc/game/edit/roads/fn.selected_lane_bg.html +++ b/rustdoc/game/edit/roads/fn.selected_lane_bg.html @@ -1,3 +1,3 @@ selected_lane_bg in game::edit::roads - Rust -

Function game::edit::roads::selected_lane_bg[][src]

fn selected_lane_bg(ctx: &EventCtx<'_>) -> Color
\ No newline at end of file +

Function game::edit::roads::selected_lane_bg[][src]

fn selected_lane_bg(ctx: &EventCtx<'_>) -> Color
\ No newline at end of file diff --git a/rustdoc/game/edit/roads/fn.width_choices.html b/rustdoc/game/edit/roads/fn.width_choices.html index 85638d0d2f..fd75cf98a8 100644 --- a/rustdoc/game/edit/roads/fn.width_choices.html +++ b/rustdoc/game/edit/roads/fn.width_choices.html @@ -1,3 +1,3 @@ width_choices in game::edit::roads - Rust -

Function game::edit::roads::width_choices[][src]

fn width_choices(app: &App, l: LaneID) -> Vec<Choice<Distance>>
\ No newline at end of file +

Function game::edit::roads::width_choices[][src]

fn width_choices(app: &App, l: LaneID) -> Vec<Choice<Distance>>
\ No newline at end of file diff --git a/rustdoc/game/edit/roads/index.html b/rustdoc/game/edit/roads/index.html index fc695f9d3a..d0f58d8ecd 100644 --- a/rustdoc/game/edit/roads/index.html +++ b/rustdoc/game/edit/roads/index.html @@ -1,5 +1,5 @@ game::edit::roads - Rust -

Module game::edit::roads[][src]

Structs

+

Module game::edit::roads[][src]

Structs

RoadEditor

Functions

build_lane_highlights
can_reverse
lane_type_to_icon
make_main_panel
make_top_panel
selected_lane_bg
width_choices
\ No newline at end of file diff --git a/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html b/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html index 7bb7a64d4c..7673e47993 100644 --- a/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html +++ b/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html @@ -1,4 +1,4 @@ BUILT_TIME_UTC in game::pregame::built_info - Rust -

Constant game::pregame::built_info::BUILT_TIME_UTC[][src]

pub const BUILT_TIME_UTC: &str = r"Wed, 25 Aug 2021 17:05:07 +0000";
Expand description

The build time in RFC2822, UTC.

+

Constant game::pregame::built_info::BUILT_TIME_UTC[][src]

pub const BUILT_TIME_UTC: &str = r"Wed, 25 Aug 2021 17:24:24 +0000";
Expand description

The build time in RFC2822, UTC.

\ No newline at end of file diff --git a/rustdoc/src/game/edit/roads.rs.html b/rustdoc/src/game/edit/roads.rs.html index a87bfd5e5d..cb08d8387a 100644 --- a/rustdoc/src/game/edit/roads.rs.html +++ b/rustdoc/src/game/edit/roads.rs.html @@ -882,6 +882,8 @@ 880 881 882 +883 +884
 use std::collections::HashMap;
 
@@ -1568,15 +1570,17 @@
                     .icon("system/assets/tools/trash.svg")
                     .disabled(road.lanes_ltr().len() == 1)
                     .hotkey(Key::Backspace)
-                    .build_widget(ctx, "delete lane"),
+                    .build_widget(ctx, "delete lane")
+                    .centered_vert(),
                 ctx.style()
                     .btn_plain
                     .text("flip direction")
                     .disabled(!can_reverse(lane.lane_type))
                     .hotkey(Key::F)
-                    .build_def(ctx),
-                Line("Width").secondary().into_widget(ctx).centered_vert(),
-                Widget::col(vec![
+                    .build_def(ctx)
+                    .centered_vert(),
+                Widget::row(vec![
+                    Line("Width").secondary().into_widget(ctx).centered_vert(),
                     Widget::dropdown(ctx, "width preset", lane.width, width_choices(app, l)),
                     Spinner::widget_with_custom_rendering(
                         ctx,
@@ -1592,9 +1596,9 @@
                                 metric: false,
                             })
                         }),
-                    )
-                    .centered_horiz(),
-                ]),
+                    ),
+                ])
+                .section(ctx),
             ]),
         ])
     } else {
diff --git a/rustdoc/src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-7b2f388b02b372bc/out/built.rs.html b/rustdoc/src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-7b2f388b02b372bc/out/built.rs.html
index 10a5470300..a30faa6645 100644
--- a/rustdoc/src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-7b2f388b02b372bc/out/built.rs.html
+++ b/rustdoc/src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-7b2f388b02b372bc/out/built.rs.html
@@ -177,7 +177,7 @@
 pub const RUSTDOC_VERSION: &str = r"rustdoc 1.54.0 (a178d0322 2021-07-26)";
 #[doc=r#"The build time in RFC2822, UTC."#]
 #[allow(dead_code)]
-pub const BUILT_TIME_UTC: &str = r"Wed, 25 Aug 2021 17:05:07 +0000";
+pub const BUILT_TIME_UTC: &str = r"Wed, 25 Aug 2021 17:24:24 +0000";
 #[doc=r#"The target architecture, given by `CARGO_CFG_TARGET_ARCH`."#]
 #[allow(dead_code)]
 pub const CFG_TARGET_ARCH: &str = r"x86_64";