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

Support animation when variables change values #1462

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rylin8
Copy link
Collaborator

@rylin8 rylin8 commented Jul 31, 2024

No description provided.

Copy link

Snapshot diff report vs base branch: main
Last updated: Wed Jul 31 12:05:32 PDT 2024, Sha: 2d876fc
No differences detected

@rylin8
Copy link
Collaborator Author

rylin8 commented Jul 31, 2024

Here's a start to variable animations.

@@ -114,10 +114,10 @@ pub(crate) fn create_variable(v: &figma_schema::Variable) -> Variable {
create_variable_helper(VariableType::Number, common, values_by_mode)
}
figma_schema::Variable::String { common, values_by_mode } => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to merge these changes anyway? Looks like a bug...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup that one is a bug. It's not breaking anything right now but I'll merge it in separately if this change doesn't end up going in.

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.

2 participants