Web: improve custom cursor handling and add animated cursors#3384
Merged
daxpedda merged 7 commits intorust-windowing:masterfrom Jan 12, 2024
Merged
Web: improve custom cursor handling and add animated cursors#3384daxpedda merged 7 commits intorust-windowing:masterfrom
daxpedda merged 7 commits intorust-windowing:masterfrom
Conversation
b68911b to
24f7621
Compare
24f7621 to
8a25ce2
Compare
8a25ce2 to
af6271c
Compare
af6271c to
d8d3243
Compare
This was referenced Jul 16, 2024
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.
futures::future::Abortableto abortFutures as soon as possible.wasm_bindgen_futures::spawn_local()instead of going through a custom event loop event.atomic-wakerandconcurrent-queue).CustomCursorBuilder::build_async(), to allow users to wait until a cursor has actually loaded and receive an appropriate error if loading wasn't successful.CustomCursor::from_animation()to create animated cursors fromCustomCursors using the Web Animations API.Addresses #3306.