Web: remove unused CustomCursorError::Animation (#3794)
This commit is contained in:
parent
d741c58ac3
commit
652ff7576c
2 changed files with 1 additions and 4 deletions
|
|
@ -80,3 +80,4 @@ changelog entry.
|
||||||
|
|
||||||
This feature was incomplete, and the equivalent functionality can be trivially achieved outside
|
This feature was incomplete, and the equivalent functionality can be trivially achieved outside
|
||||||
of `winit` using `objc2-ui-kit` and calling `UIDevice::currentDevice().userInterfaceIdiom()`.
|
of `winit` using `objc2-ui-kit` and calling `UIDevice::currentDevice().userInterfaceIdiom()`.
|
||||||
|
- On Web, remove unused `platform::web::CustomCursorError::Animation`.
|
||||||
|
|
|
||||||
|
|
@ -423,7 +423,6 @@ impl Future for CustomCursorFuture {
|
||||||
pub enum CustomCursorError {
|
pub enum CustomCursorError {
|
||||||
Blob,
|
Blob,
|
||||||
Decode(String),
|
Decode(String),
|
||||||
Animation,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Display for CustomCursorError {
|
impl Display for CustomCursorError {
|
||||||
|
|
@ -431,9 +430,6 @@ impl Display for CustomCursorError {
|
||||||
match self {
|
match self {
|
||||||
Self::Blob => write!(f, "failed to create `Blob`"),
|
Self::Blob => write!(f, "failed to create `Blob`"),
|
||||||
Self::Decode(error) => write!(f, "failed to decode image: {error}"),
|
Self::Decode(error) => write!(f, "failed to decode image: {error}"),
|
||||||
Self::Animation => {
|
|
||||||
write!(f, "found `CustomCursor` that is an animation when building an animation")
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue