openreplay/frontend/app/constants/zindex.ts
2022-11-14 15:05:16 +01:00

13 lines
300 B
TypeScript

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