Skip to content

fix: don't drop animate-only bindings during alias removal - #12809

Open
R-Cramer4 wants to merge 1 commit into
slint-ui:masterfrom
R-Cramer4:spinner-animation-fix
Open

fix: don't drop animate-only bindings during alias removal#12809
R-Cramer4 wants to merge 1 commit into
slint-ui:masterfrom
R-Cramer4:spinner-animation-fix

Conversation

@R-Cramer4

Copy link
Copy Markdown
Contributor

Closes #4529

When collapsing a two-way-bound property whose only binding is animate onto an alias target that has no binding of its own yet, remove_aliases gated onhas_binding() before installing the binding on the target. has_binding() only reflects the expression/two-way-bindings, not animation, so an animation-only binding was silently discarded instead of being moved onto the target. This matches how merge_with already treats animations.

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.

Cannot animate progress property of Spinner

1 participant