9 lines
464 B
TypeScript
9 lines
464 B
TypeScript
// Half of the card width, matching the w-64 class on the card.
|
|
export const CONTEXT_GAUGE_CARD_HALF_WIDTH_PX = 128;
|
|
// Minimum distance kept between the card and the form edges.
|
|
export const CONTEXT_GAUGE_EDGE_MARGIN_PX = 8;
|
|
// Gap between the top of the dial and the bottom edge of the card.
|
|
export const CONTEXT_GAUGE_DIAL_GAP_PX = 8;
|
|
// Grace delay before closing, letting the pointer travel from dial to card.
|
|
export const CONTEXT_GAUGE_CLOSE_GRACE_MS = 150;
|