feat: add page surfaces and collapsible sidebar

This commit is contained in:
2026-11-10 16:18:47 +08:00
parent e0eff7755f
commit 82f9256a84
35 changed files with 1480 additions and 1751 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ pub fn align_controls(window: &Window) {
return;
}
let bounds = view.bounds();
let center = f64::from(crate::tabs::HEIGHT) / 2.0;
let center = f64::from(crate::sidebar::HEADER) / 2.0;
let content_y = if view.isFlipped() {
bounds.origin.y + center
} else {