Show active tracking reference tooltip

This commit is contained in:
gianlucafiore committed 2026-08-08 23:09:06 -03:00
1 parent f1bc5f2cae
commit a06e8a7a69
7 files changed
+144 -1

No files matched your search

+12
View File
@@ -809,6 +809,17 @@ impl OpenCADStudio {
.as_ref()
.map(|c| c.prompt())
.unwrap_or_default();
let tracking_hint = match self.otrack_kind {
Some(crate::snap::TrackingKind::Perpendicular) => {
Some("Perpendicular".to_string())
}
Some(crate::snap::TrackingKind::Extension) => {
Some("Extension".to_string())
}
_ => None,
};
Some(crate::ui::overlay::dynamic_input_overlay(
tab.last_cursor_screen,
tab.last_point_screen,
@@ -816,6 +827,7 @@ impl OpenCADStudio {
tab.dyn_guide,
boxes,
prompt,
tracking_hint,
))
} else {
None