Post #2599688
2026-03-22 09:39 UTC
@siracusa@mastodon.social 2 cups of coffee and I think I figured it out. I thought I did exactly the same thing so I created an empty project and got to work.
When you are in an App and open a window and the size of that new window has a width and height with even numbers, lets say 340 by 420: no ‘pulse’ animation
When the size of the window has an odd size (341 by 421): there is a ‘pulse’ animation
The animation is in the direction of the odd number
FB22304835
https://youtube.com/shorts/xGh7Mqp7Hy4
https://gist.github.com/bglnelissen/d5cb43cbed614e69a28780895096a129
Replies (4)
-
@siracusa@mastodon.social 2026-03-22 12:23
@nelissen@mastodon.social Seems like a bug…
-
@seyfoyun@mastodon.social 2026-03-22 14:56
@nelissen@mastodon.social lol
-
@dmd@mastodon.social 2026-03-22 17:51
@nelissen@mastodon.social @siracusa@mastodon.social This is ridiculous. Thank you for figuring this out. I guess I'm changing mine to odd numbers. Now if anyone can figure out a way to animate the transition between app settings tabs in SwiftUI, I would be eternally grateful… I've wasted so much time on that and gotten nowhere.
-
@gormster@theblower.au 2026-03-25 11:13
@nelissen@mastodon.social @siracusa@mastodon.social someone did ‘&’ where they meant to do ‘&&’