forked from 1b-agent/opencadstudio-upstream
feat(measure): add radius and angle tools with dynamic measurement overlay
(cherry picked from commit aac44906a3)
This commit is contained in:
1 parent
843cbcd607
commit
3c55e6d7e1
42 files changed
+1624
-53
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user