mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 15:48:05 +00:00
Co-authored-by: Alex Kim <alexkim@Alexs-MacBook-Pro.local> Co-authored-by: Fredrik Burmester <fredrik.burmester@gmail.com> Co-authored-by: Simon-Eklundh <simon.eklundh@proton.me>
22 lines
587 B
TypeScript
22 lines
587 B
TypeScript
export const CONTROLS_CONSTANTS = {
|
|
TIMEOUT: 4000,
|
|
SCRUB_INTERVAL_MS: 10 * 1000, // 10 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: 10,
|
|
LONG_PRESS_ACCELERATION: 1.1,
|
|
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;
|