Add depth aeffects to menu modals

This commit is contained in:
James Babcock committed 2026-10-14 01:44:52 -07:00
1 parent a01d8bd296
commit 42c2d5cd55
1 file changed
+2
+2
View File
@@ -383,6 +383,8 @@ export function openModalMenu(
width: menuWidth,
minHeight: menuHeight,
maxHeight: menuHeight,
// Floats nearer than the content it opens over, like the window and system menus.
depth: 4,
};
ctx.stack.push(new MenuLayer(title, items, layout).selectItem(initialSelectedIndex));
}