floor-editor-ts 1.2.6 → 1.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,11 +4,13 @@ export declare const TIP_MESSAGES: Record<TipId, string>;
|
|
|
4
4
|
export declare function showTip(tipId: TipId): boolean;
|
|
5
5
|
/** Mark a tip as seen so it won't show again */
|
|
6
6
|
export declare function markTipSeen(tipId: TipId): void;
|
|
7
|
-
export declare
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
export declare const activeTipState: {
|
|
8
|
+
current: {
|
|
9
|
+
id: TipId;
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
} | null;
|
|
13
|
+
};
|
|
12
14
|
/** Trigger a tip at a screen position. No-ops if already seen. */
|
|
13
15
|
export declare function triggerTip(tipId: TipId, x: number, y: number): void;
|
|
14
16
|
/** Dismiss the current tip */
|
|
@@ -10,4 +10,4 @@ export declare function getHeatmapColor(t: number, alpha?: number): string;
|
|
|
10
10
|
* @param w - pixel width (catalogWidth * zoom)
|
|
11
11
|
* @param d - pixel depth (catalogDepth * zoom)
|
|
12
12
|
*/
|
|
13
|
-
export declare function drawFurnitureIcon(ctx: CanvasRenderingContext2D, catalogId: string, w: number, d: number, color: string, strokeColor: string, heatmapMatrix?: any, hasPerson?: boolean, showHeatmap?: boolean,
|
|
13
|
+
export declare function drawFurnitureIcon(ctx: CanvasRenderingContext2D, catalogId: string, w: number, d: number, color: string, strokeColor: string, heatmapMatrix?: any, hasPerson?: boolean, showHeatmap?: boolean, drawCone?: boolean, highlighted?: boolean): void;
|