iobroker.mywebui 1.37.95 → 1.37.96

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/io-package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "mywebui",
4
- "version": "1.37.95",
4
+ "version": "1.37.96",
5
5
  "titleLang": {
6
6
  "en": "mywebui",
7
7
  "de": "mywebui",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.mywebui",
3
- "version": "1.37.95",
3
+ "version": "1.37.96",
4
4
  "description": "ioBroker mywebui - Custom edited mywebui by gokturk413",
5
5
  "type": "module",
6
6
  "main": "dist/backend/main.js",
@@ -442,9 +442,10 @@ class AnimationInstance {
442
442
  if (effect === 'motionPath' && this.cfg.pathId) {
443
443
  let pathEl = findElementAcrossShadows(this.element, this.cfg.pathId);
444
444
  if (!pathEl) { console.warn('[AnimationService] motionPath: path element not found:', this.cfg.pathId); return; }
445
- // If ID is on <svg> container, use the first <path> inside it
445
+ // If ID is on <svg> container, use the first SVG shape inside it
446
+ // GSAP MotionPathPlugin supports path, circle, ellipse, rect, polyline, polygon
446
447
  if (pathEl.tagName.toLowerCase() === 'svg')
447
- pathEl = pathEl.querySelector('path') ?? pathEl;
448
+ pathEl = pathEl.querySelector('path, circle, ellipse, rect, polyline, polygon') ?? pathEl;
448
449
  this.tween = gsap.to(this.element, {
449
450
  duration: parseFloat(this.cfg.duration) || 1,
450
451
  ease: this.cfg.ease || 'none',