30 lines
1.2 KiB
TypeScript
30 lines
1.2 KiB
TypeScript
// Module ID: 9853
|
|
// Function ID: 9854
|
|
// Name: StickerPickerConstants
|
|
// Dependencies: [1230, 5582, 2]
|
|
|
|
// Module 9853 (StickerPickerConstants)
|
|
import StickersTypes from "StickersTypes" /* 5582 */;
|
|
import ExpressionPickerConstants from "ExpressionPickerConstants" /* 1230 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
let MIN_MARGIN;
|
|
let PADDING_HORIZONTAL;
|
|
const PADDING_VERTICAL = ExpressionPickerConstants.PADDING_VERTICAL;
|
|
({ PADDING_HORIZONTAL, MIN_MARGIN } = ExpressionPickerConstants);
|
|
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");
|
|
|
|
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;
|