This commit is contained in:
daxpedda 2023-12-25 00:54:01 +01:00 committed by GitHub
parent 775c8ece70
commit 34dd2cdba9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 10 deletions

View file

@ -54,11 +54,6 @@ pub struct CustomCursor {
impl CustomCursor {
/// Creates a new cursor from an rgba buffer.
///
/// ## Platform-specific
///
/// - **Web:** Setting cursor could be delayed due to the creation of `Blob` objects,
/// which are async by nature.
pub fn from_rgba(
rgba: impl Into<Vec<u8>>,
width: u16,