T08b menus: menu bar over the native menus, searchable menu, pie menu; megamenu points to the navigation menu; menus follow their hosts

This commit is contained in:
ZacharyZhang-NY committed 2026-09-25 13:43:12 -04:00
1 parent f990586abd
commit d6b982016d
18 files changed
+1516 -261

No files matched your search

+5
View File
@@ -228,6 +228,11 @@ impl Theme {
px_to_rems(480.0)
}
/// A pie menu's ring radius and the size of each slice's button.
pub fn pie(&self) -> (Rems, Rems) {
(px_to_rems(84.0), px_to_rems(40.0))
}
/// Narrowest a menu's panel gets.
pub fn menu_width(&self) -> Rems {
px_to_rems(200.0)