forked from Blendman974/faceclaw
Add depth aeffects to menu modals
This commit is contained in:
1 parent
a01d8bd296
commit
42c2d5cd55
1 file changed
+2
@@ -383,6 +383,8 @@ export function openModalMenu(
|
|||||||
width: menuWidth,
|
width: menuWidth,
|
||||||
minHeight: menuHeight,
|
minHeight: menuHeight,
|
||||||
maxHeight: 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));
|
ctx.stack.push(new MenuLayer(title, items, layout).selectItem(initialSelectedIndex));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user