layerchart 0.93.1 → 0.93.2
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.
|
@@ -127,10 +127,6 @@
|
|
|
127
127
|
component?.events?.pointermove?.(e);
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
if (e.buttons === 1) {
|
|
131
|
-
component?.events?.pointerdown?.(e);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
130
|
lastActiveComponent = component;
|
|
135
131
|
}
|
|
136
132
|
|
|
@@ -282,6 +278,10 @@
|
|
|
282
278
|
const component = getPointerComponent(e);
|
|
283
279
|
component?.events?.dblclick?.(e);
|
|
284
280
|
}}
|
|
281
|
+
on:pointerdown={(e) => {
|
|
282
|
+
const component = getPointerComponent(e);
|
|
283
|
+
component?.events?.pointerdown?.(e);
|
|
284
|
+
}}
|
|
285
285
|
on:pointerenter={onPointerMove}
|
|
286
286
|
on:pointerenter
|
|
287
287
|
on:pointermove={onPointerMove}
|