swiss-army-knife-card icon indicating copy to clipboard operation
swiss-army-knife-card copied to clipboard

scaling not working on mobile (android)

Open mrgrlscz opened this issue 9 months ago • 1 comments

Swiss Army Knife version: v2.5.1

Bug description

When introducing scaling at a toolset level, card do not display the same way on mobile (android app 2023.9.2-full) and desktop.

To Reproduce

title: test1254
path: test1254
panel: false
cards:
  - type: 'custom:swiss-army-knife-card'
    layout:
      toolsets:
        - toolset: test1254
          position:
            cx: 50
            cy: 50
            scale: .6
          tools:
            - type: rectangle
              id: 0
              position:
                cx: 50
                cy: 50
                width: 50
                height: 50
              styles:
                rectangle:
                  fill: red

Desktop:

WhatsApp Image 2023-10-11 à 00 21 28 Mobile: WhatsApp Image 2023-10-11 à 00 21 13

Expected behavior

Just the card looking exactly the same on mobile AND desktop

Screenshots

Desktop: WhatsApp Image 2023-10-11 à 00 03 56 Mobile: WhatsApp Image 2023-10-11 à 00 02 56

Desktop browser (please complete the following information):

  • OS: win10
  • Browser: Chrome
  • Version: 117.0.5938.150

Companion App on Smartphone/Tablet (please complete the following information):

  • Device: xiaomi 9t
  • OS: android 11
  • Browser: chrome

mrgrlscz avatar Oct 10 '23 22:10 mrgrlscz