Files
upstream-jitsi-meet/react/features/custom-panel/constants.ts
upstream-mirror 1d2bfcac0c
Some checks failed
Prosody Plugin Tests / test (push) Failing after 10m11s
Close stale issues and PRs / stale (push) Failing after 1s
snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
2026-09-15 15:56:32 +05:00

26 lines
618 B
TypeScript

/**
* Default width for the custom panel in pixels.
*/
export const DEFAULT_CUSTOM_PANEL_WIDTH = 315;
/**
* Visual width of the drag handle in pixels.
*/
export const CUSTOM_PANEL_DRAG_HANDLE_WIDTH = 9;
/**
* Visual height of the drag handle in pixels.
*/
export const CUSTOM_PANEL_DRAG_HANDLE_HEIGHT = 100;
/**
* Touch target size for the drag handle on touch devices.
* Provides adequate hit area (44px) for comfortable tapping.
*/
export const CUSTOM_PANEL_TOUCH_HANDLE_SIZE = 44;
/**
* Offset from the panel edge for positioning the drag handle.
*/
export const CUSTOM_PANEL_DRAG_HANDLE_OFFSET = 4;