refactor(ui): remove the viewport navigation bar

Sağ kenardaki dikey orbit/pan/zoom/zoom-extents araç çubuğu tümüyle
kaldırıldı: viewport render'ı, overlay::nav_toolbar fonksiyonu,
show_navbar state + ToggleNavbar mesajı/handler'ı, NAVBAR komutu, View
şeridindeki "Navigation Bar" aracı ve navbar modülü/ikonu. Aynı
gezinme işlemleri komutlar (3DORBIT, PAN, ZOOM*) ve ViewCube üzerinden
erişilebilir durumda.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 4.7 committed 2026-05-27 17:49:23 +03:00
1 parent 6483566c5d
commit fda0f2dbb9
8 files changed
+3 -114

No files matched your search

-18
View File
@@ -529,24 +529,6 @@ impl OpenCADStudio {
.height(Fill)
};
if self.show_navbar && !tab.is_start {
// Anchor the nav toolbar to the vertical centre of the
// viewport area, flush against the right edge with a small
// gutter, so it stays aligned no matter how tall the
// window is.
let nav = container(overlay::nav_toolbar())
.align_right(Fill)
.align_y(iced::alignment::Vertical::Center)
.height(Fill)
.padding(iced::Padding {
top: 0.0,
right: 8.0,
bottom: 0.0,
left: 0.0,
});
viewport_stack = viewport_stack.push(nav);
}
if self.show_viewcube && !is_paper && !tab.is_start {
let cube_click: Element<'_, Message> = container(
mouse_area(container(