fix(ViewCube): WCS dropdown no longer appears to clip view cube

- enlarged render area for the viewcube container, and increased the gap between cube region and WCS dropdown
This commit is contained in:
Karim Jerbi committed 2026-09-04 10:21:33 +01:00
1 parent eca59d765b
commit 886d5777d8
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -1162,7 +1162,7 @@ impl OpenCADStudio {
)))
.position(iced::Point::new(
cube_x + VIEWCUBE_HIT_SIZE * 0.5 - UCS_PICKER_W * 0.5,
cube_y + VIEWCUBE_HIT_SIZE + 6.0,
cube_y + VIEWCUBE_HIT_SIZE + 10.0,
));
viewport_stack = viewport_stack.push(picker);
}
@@ -1202,7 +1202,7 @@ impl OpenCADStudio {
)))
.position(iced::Point::new(
cube_x + VIEWCUBE_HIT_SIZE * 0.5 - UCS_PICKER_W * 0.5,
cube_y + VIEWCUBE_HIT_SIZE + 6.0,
cube_y + VIEWCUBE_HIT_SIZE + 10.0,
));
viewport_stack = viewport_stack.push(picker);
}