Modern Apps git

← Modern-Apps.git

maps: fix E0364 re-export, import box helpers from placement_reuse

Commit
78987652a4b28d133d871dca3538eddf8d507892
Author
vayun-mathur <[email protected]>
When
2026-09-23 01:36 UTC (2 months ago)
Parents
bd3eca2

Diff

library/map/src/main/rust/src/vulkan/renderer/mod.rs
diff --git a/library/map/src/main/rust/src/vulkan/renderer/mod.rs b/library/map/src/main/rust/src/vulkan/renderer/mod.rsindex ae3a71a43e..94f45d6f95 100644--- a/library/map/src/main/rust/src/vulkan/renderer/mod.rs+++ b/library/map/src/main/rust/src/vulkan/renderer/mod.rs@@ -426,8 +426,7 @@ fn anchors_for(layer: &Layer) -> (Anchor, Option<Anchor>) { /// tried at can only differ in where they sit — not in how big they are. /// /// Lives in [`placement_reuse`] (file-length split) alongside the candidate loop-/// that reads it; re-exported here so existing `super::box_inputs` paths keep working.-pub(super) use placement_reuse::{box_inputs, box_inputs_with_arms};+/// that reads it; import it from there (`super::placement_reuse::{...}`).  /// Multiply a colour's alpha by `opacity`, for the style's fill-opacity ramps. ///
library/map/src/main/rust/src/vulkan/renderer/placement.rs
diff --git a/library/map/src/main/rust/src/vulkan/renderer/placement.rs b/library/map/src/main/rust/src/vulkan/renderer/placement.rsindex 83f7d14221..9e21959ea7 100644--- a/library/map/src/main/rust/src/vulkan/renderer/placement.rs+++ b/library/map/src/main/rust/src/vulkan/renderer/placement.rs@@ -1,6 +1,6 @@ use super::{-    anchors_for, box_inputs, box_inputs_with_arms, kind_name,-    placement_reuse::{drift_reuse_ms, within_drift},+    anchors_for, kind_name,+    placement_reuse::{box_inputs, box_inputs_with_arms, drift_reuse_ms, within_drift},     AcceptSet, Overlay, PlacedHit, PlacementKey, Renderer, QUAD_INDICES, }; use crate::camera::Camera;