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

fix(macos::app_state): fix unwanted deviation when drag around monitor boundaries, closes #922 #923

Merged
merged 1 commit into from
May 7, 2024

Conversation

BillGoldenWater
Copy link
Contributor

@BillGoldenWater BillGoldenWater commented May 2, 2024

related: #922

unconditionally call to setContentSize_ would cause some weird unwanted behavior.
and the "old size" is same as the default target size since it's get from the NSView at the event happens
so change it to only call setContentSize_ if the "new size" changed.

@BillGoldenWater BillGoldenWater requested a review from a team as a code owner May 2, 2024 18:08
@BillGoldenWater BillGoldenWater force-pushed the fix/macos_drag_deviation branch from 5d78c87 to d05a258 Compare May 2, 2024 18:18
@wusyong wusyong merged commit 2d6ad2d into tauri-apps:dev May 7, 2024
9 checks passed
@github-actions github-actions bot mentioned this pull request May 7, 2024
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.

3 participants