@pathscale/ui 0.0.144 → 0.0.145

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10485,7 +10485,11 @@ const FloatingDock_DockItem = (props)=>{
10485
10485
  rafId = requestAnimationFrame(tick);
10486
10486
  };
10487
10487
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.onMount)(()=>{
10488
- startLoop();
10488
+ if (!cfg.magnify) return;
10489
+ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createEffect)(()=>{
10490
+ props.mousePos();
10491
+ startLoop();
10492
+ });
10489
10493
  });
10490
10494
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.onCleanup)(()=>{
10491
10495
  stopLoop();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathscale/ui",
3
- "version": "0.0.144",
3
+ "version": "0.0.145",
4
4
  "author": "pathscale",
5
5
  "repository": {
6
6
  "type": "git",