mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Merge branch '961-hotkeys-get-stuck' into v2
This commit is contained in:
commit
d7edb00254
@ -158,7 +158,7 @@ export function SpawnContextMenu(props: {}) {
|
||||
setHeight(content.clientHeight);
|
||||
});
|
||||
resizeObserver.observe(content);
|
||||
return () => resizeObserver.disconnect(); // clean up
|
||||
return () => resizeObserver.disconnect(); // clean up
|
||||
}
|
||||
});
|
||||
|
||||
@ -169,8 +169,7 @@ export function SpawnContextMenu(props: {}) {
|
||||
ref={contentRef}
|
||||
data-hidden={appState !== OlympusState.SPAWN_CONTEXT}
|
||||
className={`
|
||||
absolute flex w-[395px] data- max-h-[800px] flex-wrap gap-2
|
||||
overflow-auto rounded-md bg-olympus-800
|
||||
absolute flex w-[395px] flex-wrap gap-2 rounded-md bg-olympus-800
|
||||
data-[hidden=true]:hidden
|
||||
`}
|
||||
>
|
||||
|
||||
@ -154,7 +154,7 @@ export function UnitSpawnMenu(props: {
|
||||
{props.compact ? (
|
||||
<>
|
||||
{props.visible && (
|
||||
<div className="flex flex-col">
|
||||
<div className="flex max-h-[800px] flex-col overflow-auto">
|
||||
<div className="flex h-fit flex-col gap-3">
|
||||
<div className="flex">
|
||||
<FontAwesomeIcon
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user