@mxtommy/kip 3.0.0-alpha.23 → 3.0.0-alpha.24

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mxtommy/kip",
3
- "version": "3.0.0-alpha.23",
3
+ "version": "3.0.0-alpha.24",
4
4
  "description": "An advanced and versatile marine instrumentation package to display Signal K data.",
5
5
  "license": "MIT",
6
6
  "author": {
package/public/main.js CHANGED
@@ -125261,11 +125261,7 @@ var WidgetFreeboardskComponent = class _WidgetFreeboardskComponent extends BaseW
125261
125261
  hammerInstance.add(new Hammer.Swipe({ direction: Hammer.DIRECTION_ALL }));
125262
125262
  document.body._hammer = hammerInstance;
125263
125263
  }
125264
- const hammerEvent = {
125265
- type: event.data.gesture,
125266
- direction: this.getSwipeDirection(event.data.gesture)
125267
- };
125268
- hammerInstance.emit(event.data.gesture, hammerEvent);
125264
+ hammerInstance.emit(event.data.gesture, event.data.eventData);
125269
125265
  };
125270
125266
  // Helper function to determine the direction
125271
125267
  getSwipeDirection(gesture) {