Skip to content

fix(android): use device density for Fit.Layout in experimental backend#214

Merged
mfazekas merged 1 commit intofeat/rive-ios-experimentalfrom
fix/experimental-layout-density
Apr 14, 2026
Merged

fix(android): use device density for Fit.Layout in experimental backend#214
mfazekas merged 1 commit intofeat/rive-ios-experimentalfrom
fix/experimental-layout-density

Conversation

@mfazekas
Copy link
Copy Markdown
Collaborator

Port of #209 fix to the experimental backend. The legacy backend defaulted layoutScaleFactor to resources.displayMetrics.density when unset, but the experimental backend defaulted to 1f, causing the artboard to render at pixel dimensions instead of dp.

@mfazekas mfazekas merged commit 53d124e into feat/rive-ios-experimental Apr 14, 2026
11 checks passed
@mfazekas mfazekas deleted the fix/experimental-layout-density branch April 14, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant