Conversation
… overlap Co-authored-by: Xerrion <1850632+Xerrion@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix animation frames getting stuck on top of each other
fix: apply initial keyframe immediately in Animate() to prevent frame overlap
Feb 24, 2026
Xerrion
approved these changes
Feb 24, 2026
Xerrion
pushed a commit
that referenced
this pull request
Feb 24, 2026
🤖 I have created a release *beep* *boop* --- ## [3.5.5](3.5.4...3.5.5) (2026-02-24) ### Bug Fixes * apply initial keyframe immediately in Animate() to prevent frame overlap ([#48](#48)) ([b5ea1d2](b5ea1d2)) * harden callback safety, SlideAnchor guards, and easing validation ([#52](#52)) ([bf71c6a](bf71c6a)) * prevent anchor drift when animations complete with an onFinished callback ([#47](#47)) ([e4a9d04](e4a9d04)) ### Documentation * add bug report and feature request issue templates ([#53](#53)) ([ec638f6](ec638f6)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When multiple animations are started in quick succession, frames remain visible at their pre-animation anchor positions until the first
OnUpdatetick. For entrance animations, this means all frames briefly sit at their final destinations simultaneously instead of being at their off-screen start positions.Change
Animate()viaApplyToFrame, so entrance animations move frames to their start positions (e.g., off-screen) synchronously rather than waiting for the next render tick.This is a no-op for exit and attention animations since their first keyframe is identity (translateX/Y=0, scale=1, alpha=1). For entrance animations, it immediately positions the frame at its animation start point. Also eliminates the visual snap that previously occurred when delayed entrance animations transitioned from "visible at anchor" to "off-screen start position."
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
luarocks.org/usr/bin/lua5.1 /usr/bin/lua5.1 /usr/bin/luarocks install luacheck(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.