decord/alpha/source/modules/stickers/native/StickerPickerConstants.tsx

31 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 9698
// Function ID: 9699
// Name: StickerPickerConstants
2026-10-09 10:00:15 +00:00
// Dependencies: [1241, 5747, 2]
2026-07-23 10:11:24 +00:00
2026-10-09 10:00:15 +00:00
// Module 9698 (StickerPickerConstants)
import StickersTypes from "StickersTypes" /* 5747 */;
2026-10-08 09:57:35 +00:00
import ExpressionPickerConstants from "ExpressionPickerConstants" /* 1241 */;
import size from "module_2" /* 2 */;
2026-07-20 16:05:17 +00:00
2026-10-03 08:58:59 +00:00
let MIN_MARGIN;
let PADDING_HORIZONTAL;
const PADDING_VERTICAL = ExpressionPickerConstants.PADDING_VERTICAL;
({ PADDING_HORIZONTAL, MIN_MARGIN } = ExpressionPickerConstants);
2026-07-20 16:05:17 +00:00
const result = 2 * PADDING_VERTICAL;
const items = [StickersTypes.StickerFormat.GIF, StickersTypes.StickerFormat.PNG, StickersTypes.StickerFormat.APNG];
const result1 = size.fileFinishedImporting("modules/stickers/native/StickerPickerConstants.tsx");
2026-07-20 16:05:17 +00:00
export { PADDING_HORIZONTAL };
export { PADDING_VERTICAL };
export { MIN_MARGIN };
export const STICKER_SIZE = 64;
export const LABEL_HEIGHT = 16;
export const BUTTON_HEIGHT = 32;
export const ROW_HEIGHT = 64 + result;
export const STICKER_NUDGE_RESULTS_CAP = 4;
export const STICKER_PICKER_PADDING = 100;
export const STICKER_SCROLL_LOAD_DELAY_MS = 250;
export const STICKER_SCROLL_LOAD_DELAY_AFTER_HEIGHT_CHANGE_MS = 750;
export const STICKER_FORMATS = items;