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

mac/window: rewrite calculateWindowPosition function with easing function #16027

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mikelxk
Copy link

@mikelxk mikelxk commented Mar 8, 2025

ref: #13608
add a easing function for calculateWindowPosition function

@mikelxk mikelxk force-pushed the rewrite-mac-func branch from 6776534 to 8934124 Compare March 9, 2025 02:47
Copy link

github-actions bot commented Mar 9, 2025

Download the artifacts for this pull request:

Windows
macOS

@Akemi
Copy link
Member

Akemi commented Mar 9, 2025

the request in #13608 is meant to simplify this function and not add another layer of complexity to it. so in general i am a bit hesitant to accept such changes.

it would also probably help if you could explain what you want to accomplish.

also tested this really quick and this change already adds some regressions. just toggling fs (to and from) moves the window to the bottoms left, till it reaches the bottom left corner. this function is meant to be noop if size, position, screen, etc didn't change.

@kasper93
Copy link
Contributor

Commits needs to be squashed and commit description should explain what those changes fixes and the reasoning behind the change.

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