mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-02-13 15:52:23 +00:00
22 lines
587 B
TypeScript
22 lines
587 B
TypeScript
export const CONTROLS_CONSTANTS = {
|
|
TIMEOUT: 4000,
|
|
SCRUB_INTERVAL_MS: 30 * 1000, // 30 seconds in ms
|
|
SCRUB_INTERVAL_TICKS: 10 * 10000000, // 10 seconds in ticks
|
|
TILE_WIDTH: 150,
|
|
PROGRESS_UNIT_MS: 1000, // 1 second in ms
|
|
PROGRESS_UNIT_TICKS: 10000000, // 1 second in ticks
|
|
LONG_PRESS_INITIAL_SEEK: 30,
|
|
LONG_PRESS_ACCELERATION: 1.2,
|
|
LONG_PRESS_INTERVAL: 300,
|
|
SLIDER_DEBOUNCE_MS: 3,
|
|
} as const;
|
|
|
|
export const ICON_SIZES = {
|
|
HEADER: 24,
|
|
CENTER: 50,
|
|
} as const;
|
|
|
|
export const HEADER_LAYOUT = {
|
|
CONTAINER_PADDING: 8, // p-2 = 8px (matches HeaderControls)
|
|
} as const;
|