Keep rotation prompt visible with arc label

This commit is contained in:
Hakan Seven committed 2026-09-02 22:02:10 +03:00
1 parent 7edf268eef
commit 0f337db488
2 files changed
+11 -5

No files matched your search

+4 -2
View File
@@ -851,8 +851,10 @@ impl OpenCADStudio {
tab.scene.active_model_tile_bounds(vw, vh),
)
});
camera.project(world, bounds).map(|point| {
iced::Point::new(bounds.x + point.x, bounds.y + point.y)
camera.project(world, bounds).and_then(|point| {
(point.x.is_finite() && point.y.is_finite()).then(|| {
iced::Point::new(bounds.x + point.x, bounds.y + point.y)
})
})
});
// A command may drive a typed scalar by mouse (e.g. a