Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scaling not working on mobile (android) #245

Open
mrgrlscz opened this issue Oct 10, 2023 · 1 comment
Open

scaling not working on mobile (android) #245

mrgrlscz opened this issue Oct 10, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@mrgrlscz
Copy link

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 mrgrlscz added the bug Something isn't working label Oct 10, 2023
@github-actions
Copy link

Thank you for creating your first issue for the Swiss Army Knife custom card!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant