openreplay/frontend/app/constants/zindex.ts

10 lines
235 B
TypeScript

export const INDEXES = {
POPUP_GUIDE_BG: 99998,
POPUP_GUIDE_BTN: 99999,
PLAYER_REQUEST_WINDOW: 10,
}
export const getHighest = () => {
const allIndexes = Object.values(INDEXES)
return allIndexes[allIndexes.length - 1] + 1
}