From 2769f15cd97ccc030f518f3a7e88f5001bef9e30 Mon Sep 17 00:00:00 2001 From: yutotnh <57719497+yutotnh@users.noreply.github.com> Date: Sat, 20 May 2023 11:11:02 +0900 Subject: [PATCH 1/3] Fix typo in window.rs --- core/tauri-runtime/src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tauri-runtime/src/window.rs b/core/tauri-runtime/src/window.rs index f3ee347bc812..142e3940257f 100644 --- a/core/tauri-runtime/src/window.rs +++ b/core/tauri-runtime/src/window.rs @@ -184,7 +184,7 @@ impl<'de> Deserialize<'de> for CursorIcon { "grab" => CursorIcon::Grab, "grabbing" => CursorIcon::Grabbing, "allscroll" => CursorIcon::AllScroll, - "zoomun" => CursorIcon::ZoomIn, + "zoomin" => CursorIcon::ZoomIn, "zoomout" => CursorIcon::ZoomOut, "eresize" => CursorIcon::EResize, "nresize" => CursorIcon::NResize, From 027a01cd5a1449aaa4714de621c760aa44636904 Mon Sep 17 00:00:00 2001 From: yutotnh <57719497+yutotnh@users.noreply.github.com> Date: Sat, 20 May 2023 11:36:39 +0900 Subject: [PATCH 2/3] Add change file --- .changes/fix-cursor-icon-zoomin.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changes/fix-cursor-icon-zoomin.md diff --git a/.changes/fix-cursor-icon-zoomin.md b/.changes/fix-cursor-icon-zoomin.md new file mode 100644 index 000000000000..f22da5be91a1 --- /dev/null +++ b/.changes/fix-cursor-icon-zoomin.md @@ -0,0 +1,5 @@ +--- +'tauri-runtime': 'patch' +--- + +Fix the typo in the matching of "zoomin" to "zoomun" in the deserialized string. From f50fd903c996927d8c42ffe415b9e88d865f7b0c Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Sat, 20 May 2023 07:52:06 -0300 Subject: [PATCH 3/3] Update .changes/fix-cursor-icon-zoomin.md --- .changes/fix-cursor-icon-zoomin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changes/fix-cursor-icon-zoomin.md b/.changes/fix-cursor-icon-zoomin.md index f22da5be91a1..8fc4437b828b 100644 --- a/.changes/fix-cursor-icon-zoomin.md +++ b/.changes/fix-cursor-icon-zoomin.md @@ -2,4 +2,4 @@ 'tauri-runtime': 'patch' --- -Fix the typo in the matching of "zoomin" to "zoomun" in the deserialized string. +Fixes typo in `CursorIcon` deserialization of the `ZoomIn` variant.