Skip to content

Added a smoothShowRectangle and Promises to all smooth functions#221

Open
Timo-Weike wants to merge 8 commits intoanvaka:mainfrom
Timo-Weike:master
Open

Added a smoothShowRectangle and Promises to all smooth functions#221
Timo-Weike wants to merge 8 commits intoanvaka:mainfrom
Timo-Weike:master

Conversation

@Timo-Weike
Copy link
Contributor

No description provided.

@Timo-Weike
Copy link
Contributor Author

See #219 for further discussions

) => Promise<boolean>;
getTransform: () => Transform;
showRectangle: (rect: ClientRect) => void;
smoothShowRectangle: (rect: ClientRect, duration: (from:ClientRect, to:ClientRect) => number) => Promise<boolean>;
Copy link

@stuffaboutpete stuffaboutpete May 22, 2024

Choose a reason for hiding this comment

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

Duration should be declared as optional

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