T07b navigation places: nav item and group, navigation menu, back and forward history, table of contents with anchors, go to line; measuring canvases pinned to their parent

This commit is contained in:
ZacharyZhang-NY committed 2026-09-25 12:14:58 -04:00
1 parent 0883a999f4
commit c02dd7d1c3
21 files changed
+1548 -56

No files matched your search

+2
View File
@@ -198,6 +198,8 @@ impl RenderOnce for GradientEditor {
|_, _, _, _| {},
)
.absolute()
.top_0()
.left_0()
.size_full(),
)
.on_mouse_down(MouseButton::Left, move |event, window, cx| {
+2
View File
@@ -191,6 +191,8 @@ fn area(
|_, _, _, _| {},
)
.absolute()
.top_0()
.left_0()
.size_full(),
)
}
+2
View File
@@ -58,6 +58,8 @@ pub(crate) fn checker(radius: Rems, cx: &App) -> impl IntoElement + use<> {
},
)
.absolute()
.top_0()
.left_0()
.size_full()
}
+2
View File
@@ -156,6 +156,8 @@ impl RenderOnce for Knob {
},
)
.absolute()
.top_0()
.left_0()
.size_full(),
)
.when(!self.disabled, |knob| {
+2 -2
View File
@@ -70,7 +70,7 @@ pub use mention::{MentionInput, mention_highlights};
pub use multi::MultiSelect;
pub use number::{NumberInput, ScrubInput};
pub use options::Choice;
pub(crate) use options::{Pick, Run, step};
pub(crate) use options::{OnFlag, OnValue, Pick, Run, float, step, surface};
pub use pairs::{FieldArray, KeyValueInput, ListInput};
pub use path::PathInput;
pub use pattern::{RegexInput, regex_highlights};
@@ -88,7 +88,7 @@ pub use structure::{
};
pub use switch::Switch;
pub use tags::TagInput;
pub(crate) use text::bind_keys;
pub(crate) use text::{Enter, bind_keys};
pub use text::{Highlight, InputEvent, TextInput};
pub use transfer::TransferList;
pub use unit::UnitInput;
+2
View File
@@ -200,6 +200,8 @@ impl RenderOnce for SignaturePad {
move |bounds, _, window, _| paint(&shown, bounds, width, color, window),
)
.absolute()
.top_0()
.left_0()
.size_full(),
)
.on_mouse_down(MouseButton::Left, move |event, _, cx| {
+2
View File
@@ -205,6 +205,8 @@ impl Track {
|_, _, _, _| {},
)
.absolute()
.top_0()
.left_0()
.size_full(),
)
.when(!self.disabled, |inner| {