diff --git a/rustdoc/ltn/per_neighborhood/fn.handle_world_outcome.html b/rustdoc/ltn/per_neighborhood/fn.handle_world_outcome.html index 90565da7b4..7f4fdca82d 100644 --- a/rustdoc/ltn/per_neighborhood/fn.handle_world_outcome.html +++ b/rustdoc/ltn/per_neighborhood/fn.handle_world_outcome.html @@ -1,5 +1,5 @@ handle_world_outcome in ltn::per_neighborhood - Rust -

Function ltn::per_neighborhood::handle_world_outcome[][src]

pub fn handle_world_outcome(
    ctx: &mut EventCtx<'_>,
    app: &mut SimpleApp<Session>,
    outcome: WorldOutcome<FilterableObj>
) -> bool
Expand description

If true, the neighborhood has changed and the caller should recalculate stuff, including the +

Function ltn::per_neighborhood::handle_world_outcome[][src]

pub fn handle_world_outcome(
    ctx: &mut EventCtx<'_>,
    app: &mut SimpleApp<Session>,
    outcome: WorldOutcome<FilterableObj>
) -> bool
Expand description

If true, the neighborhood has changed and the caller should recalculate stuff, including the panel

\ No newline at end of file diff --git a/rustdoc/ltn/per_neighborhood/fn.populate_world.html b/rustdoc/ltn/per_neighborhood/fn.populate_world.html index cef2b71d06..9fefd0c60c 100644 --- a/rustdoc/ltn/per_neighborhood/fn.populate_world.html +++ b/rustdoc/ltn/per_neighborhood/fn.populate_world.html @@ -1,5 +1,5 @@ populate_world in ltn::per_neighborhood - Rust -

Function ltn::per_neighborhood::populate_world[][src]

pub fn populate_world<T: ObjectID, F: Fn(FilterableObj) -> T>(
    ctx: &mut EventCtx<'_>,
    app: &SimpleApp<Session>,
    neighborhood: &Neighborhood,
    world: &mut World<T>,
    wrap_id: F,
    zorder: usize
)
Expand description

Adds clickable objects for managing filters on roads and intersections. The caller is +

Function ltn::per_neighborhood::populate_world[][src]

pub fn populate_world<T: ObjectID, F: Fn(FilterableObj) -> T>(
    ctx: &mut EventCtx<'_>,
    app: &SimpleApp<Session>,
    neighborhood: &Neighborhood,
    world: &mut World<T>,
    wrap_id: F,
    zorder: usize
)
Expand description

Adds clickable objects for managing filters on roads and intersections. The caller is responsible for base drawing behavior, initialize_hover, etc.

\ No newline at end of file diff --git a/rustdoc/ltn/per_neighborhood/index.html b/rustdoc/ltn/per_neighborhood/index.html index 8f46ba6024..24bed4caff 100644 --- a/rustdoc/ltn/per_neighborhood/index.html +++ b/rustdoc/ltn/per_neighborhood/index.html @@ -1,5 +1,5 @@ ltn::per_neighborhood - Rust -

Module ltn::per_neighborhood[][src]

Enums

+

Module ltn::per_neighborhood[][src]

Enums

Functions

If true, the neighborhood has changed and the caller should recalculate stuff, including the panel

diff --git a/rustdoc/map_gui/tools/title_screen/built_info/constant.BUILT_TIME_UTC.html b/rustdoc/map_gui/tools/title_screen/built_info/constant.BUILT_TIME_UTC.html index 32a9ce68d4..89a3a8a377 100644 --- a/rustdoc/map_gui/tools/title_screen/built_info/constant.BUILT_TIME_UTC.html +++ b/rustdoc/map_gui/tools/title_screen/built_info/constant.BUILT_TIME_UTC.html @@ -1,4 +1,4 @@ BUILT_TIME_UTC in map_gui::tools::title_screen::built_info - Rust -

Constant map_gui::tools::title_screen::built_info::BUILT_TIME_UTC[][src]

pub const BUILT_TIME_UTC: &str = r"Tue, 01 Feb 2022 11:00:47 +0000";
Expand description

The build time in RFC2822, UTC.

+

Constant map_gui::tools::title_screen::built_info::BUILT_TIME_UTC[][src]

pub const BUILT_TIME_UTC: &str = r"Tue, 01 Feb 2022 15:06:10 +0000";
Expand description

The build time in RFC2822, UTC.

\ No newline at end of file diff --git a/rustdoc/src/ltn/per_neighborhood.rs.html b/rustdoc/src/ltn/per_neighborhood.rs.html index ba23e3a5e7..25d335e2b7 100644 --- a/rustdoc/src/ltn/per_neighborhood.rs.html +++ b/rustdoc/src/ltn/per_neighborhood.rs.html @@ -262,8 +262,18 @@ 261 262 263 +264 +265 +266 +267 +268 +269 +270 +271 +272 +273
use geom::Distance;
-use map_gui::tools::{CityPicker, Navigator};
+use map_gui::tools::{open_browser, CityPicker, Navigator};
 use map_model::{IntersectionID, PathConstraints, RoadID};
 use widgetry::mapspace::{ObjectID, World, WorldOutcome};
 use widgetry::{
@@ -448,6 +458,7 @@
             .zorder(zorder)
             .drawn_in_master_batch()
             .hover_outline(Color::BLACK, Distance::meters(5.0))
+            .hotkey(lctrl(Key::D), "debug")
             .clickable()
             .build(ctx);
     }
@@ -460,6 +471,7 @@
             .drawn_in_master_batch()
             .hover_outline(Color::BLACK, Distance::meters(5.0))
             .clickable()
+            .hotkey(lctrl(Key::D), "debug")
             .build(ctx);
     }
 }
@@ -522,6 +534,14 @@
             }
             true
         }
+        WorldOutcome::Keypress("debug", FilterableObj::InteriorIntersection(i)) => {
+            open_browser(app.map.get_i(i).orig_id.to_string());
+            false
+        }
+        WorldOutcome::Keypress("debug", FilterableObj::InteriorRoad(r)) => {
+            open_browser(app.map.get_r(r).orig_id.osm_way_id.to_string());
+            false
+        }
         _ => false,
     }
 }
diff --git a/rustdoc/src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-c32b77646ab1d63c/out/built.rs.html b/rustdoc/src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-c32b77646ab1d63c/out/built.rs.html
index 179fcdd0a3..554519c16a 100644
--- a/rustdoc/src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-c32b77646ab1d63c/out/built.rs.html
+++ b/rustdoc/src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-c32b77646ab1d63c/out/built.rs.html
@@ -175,7 +175,7 @@
 pub const RUSTDOC_VERSION: &str = r"rustdoc 1.58.1 (db9d1b20b 2022-01-20)";
 #[doc=r#"The build time in RFC2822, UTC."#]
 #[allow(dead_code)]
-pub const BUILT_TIME_UTC: &str = r"Tue, 01 Feb 2022 11:00:47 +0000";
+pub const BUILT_TIME_UTC: &str = r"Tue, 01 Feb 2022 15:06:10 +0000";
 #[doc=r#"The target architecture, given by `CARGO_CFG_TARGET_ARCH`."#]
 #[allow(dead_code)]
 pub const CFG_TARGET_ARCH: &str = r"x86_64";