Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Update layer properties when using Rebel animator proxies #8

@jspahrsummers

Description

@jspahrsummers

When setting view properties on an AppKit animator proxy, those changes are not reflected on the view or the proxy until the animation completes. This is a huge defect, because it becomes extremely hard to write layout code that works whether an animation is in progress or not.

Rebel's animator proxies could solve this by writing the corresponding layer properties after using the AppKit proxy, since the layer will update immediately to reflect the change. Similarly, using a proxy to read properties could check the layer for in-progress changes.

An example of this sort of pattern exists in the GHfM diff view implementation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions