feat(measure): add radius and angle tools with dynamic measurement overlay

(cherry picked from commit aac44906a3)
This commit is contained in:
turbuczn authored and Hakan Seven committed 2026-10-15 00:22:41 +03:00
1 parent 843cbcd607
commit 3c55e6d7e1
42 files changed
+1624 -53

No files matched your search

+9
View File
@@ -1809,6 +1809,15 @@ bg={bg_ms:.1}ms n={view_count}"
} else {
34.0 + self.command_line.overlay_lines_height()
};
if !tab.is_start {
if let Some(readout) = self.measurement_readout(self.active_tab) {
viewport_stack = viewport_stack.push(overlay::measurement_overlay(
readout.anchor,
command_line_inset,
readout.text,
));
}
}
// Quick Properties: stay near the selection cursor, flipping around
// it as needed to remain inside the visible drawing area.
if self.quick_properties && !tab.is_start {