forked from 1b-agent/opencadstudio-upstream
Keep rotation prompt visible with arc label
This commit is contained in:
1 parent
7edf268eef
commit
0f337db488
2 files changed
+11
-5
No files matched your search
+4
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user