@orbat-mapper/tactical-draw 0.6.2 → 0.8.0
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.
|
@@ -6,17 +6,21 @@ interface PointerEventInfo {
|
|
|
6
6
|
/** Per-event hit-tolerance override (e.g. larger for touch). */
|
|
7
7
|
hitTolerance?: number;
|
|
8
8
|
/**
|
|
9
|
-
* Whether
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* mouse paths populate it; touch leaves it `undefined`.
|
|
9
|
+
* Whether Alt/Option was held. Used for Alt+click vertex deletion and the
|
|
10
|
+
* optional point-symbol offset shortcut. Modifiers are populated on mouse
|
|
11
|
+
* pointer-down; touch leaves them undefined.
|
|
13
12
|
*/
|
|
14
13
|
altKey?: boolean;
|
|
15
14
|
/**
|
|
16
15
|
* Whether Shift was held for this pointer event. Rotation gestures use the
|
|
17
16
|
* live value to constrain transform-box angles to 15-degree increments.
|
|
17
|
+
* Point-symbol offset shortcuts read their configured modifier on pointer-down.
|
|
18
18
|
*/
|
|
19
19
|
shiftKey?: boolean;
|
|
20
|
+
/** Whether Control was held for this pointer event. */
|
|
21
|
+
ctrlKey?: boolean;
|
|
22
|
+
/** Whether Meta/Command was held for this pointer event. */
|
|
23
|
+
metaKey?: boolean;
|
|
20
24
|
/** Engine-native event, for drivers that need to call preventDefault etc. */
|
|
21
25
|
native?: unknown;
|
|
22
26
|
}
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as LayerId, o as MapAdapter, p as PixelCoordinate } from "./map-adapter-
|
|
1
|
+
import { a as LayerId, o as MapAdapter, p as PixelCoordinate } from "./map-adapter-CyVIAoPf.mjs";
|
|
2
2
|
import { Feature } from "geojson";
|
|
3
3
|
|
|
4
4
|
//#region src/testing/feature-group-conformance.d.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orbat-mapper/tactical-draw",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Engine-agnostic draw/edit core for tactical control measures (MIL-STD-2525 / APP-6). The MapAdapter ABI and bring-your-own-engine entry point for the tactical-draw package family.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Orbat Mapper",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@orbat-mapper/control-measures": "^0.
|
|
42
|
+
"@orbat-mapper/control-measures": "^0.24.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"vitest": ">=4.0.0"
|