Skip to content

Commit 2b487c9

Browse files
yutotnhlucasfernog
andauthored
Fix typo (#7012)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app> Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
1 parent b9eac96 commit 2b487c9

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changes/fix-cursor-icon-zoomin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'tauri-runtime': 'patch'
3+
---
4+
5+
Fixes typo in `CursorIcon` deserialization of the `ZoomIn` variant.

core/tauri-runtime/src/window.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ impl<'de> Deserialize<'de> for CursorIcon {
184184
"grab" => CursorIcon::Grab,
185185
"grabbing" => CursorIcon::Grabbing,
186186
"allscroll" => CursorIcon::AllScroll,
187-
"zoomun" => CursorIcon::ZoomIn,
187+
"zoomin" => CursorIcon::ZoomIn,
188188
"zoomout" => CursorIcon::ZoomOut,
189189
"eresize" => CursorIcon::EResize,
190190
"nresize" => CursorIcon::NResize,

0 commit comments

Comments
 (0)