Skip to content

feat(TiltConfig): add perspectiveIntensity and zOffset - #63

Merged
AmosHuKe merged 5 commits into
mainfrom
feat-z-offset
Jul 29, 2026
Merged

feat(TiltConfig): add perspectiveIntensity and zOffset#63
AmosHuKe merged 5 commits into
mainfrom
feat-z-offset

Conversation

@AmosHuKe

@AmosHuKe AmosHuKe commented Jul 29, 2026

Copy link
Copy Markdown
Member

Description

  • TiltConfig.perspectiveIntensity: Custom perspective intensity (near-large, far-small).
    Defaults to a size-adaptive value when null.
  • TiltConfig.zOffset: Offsets the rotation pivot along the Z-axis, creating a subtle tilting and swinging effect.
    Defaults to 0 (no offset).
TiltConfig.zOffset: 0.0 TiltConfig.zOffset: -50
preview-0 preview-50

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).

  • I open this PR to the main branch.
  • I did not modify the CHANGELOG.md nor the package version in pubspec.yaml files.
  • All existing and new tests are passing.

Breaking Change

Does your PR require package users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change.
  • No, this is not a breaking change.

@AmosHuKe AmosHuKe added the c: enhancement New feature or request label Jul 29, 2026
@AmosHuKe
AmosHuKe marked this pull request as ready for review July 29, 2026 13:18
@AmosHuKe
AmosHuKe merged commit fc6c4ac into main Jul 29, 2026
14 checks passed
@AmosHuKe
AmosHuKe deleted the feat-z-offset branch July 29, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant