agent-gui / data /frontend /src /floatingPanelStack.ts
introvoyz041's picture
Migrated from GitHub
c453128 verified
Raw
History Blame Contribute Delete
303 Bytes
/** Base z-index for desk detail panels (activity/files/console). */
export const DESK_PANEL_Z_BASE = 6000;
/** Increment and return the next stacking z-index for floating panels. */
export function nextPanelZ(counter: { current: number }): number {
counter.current += 1;
return counter.current;
}