From 931165050d202c7af180cd7687351ec62d94c396 Mon Sep 17 00:00:00 2001 From: Ashley Wulber <48420062+wash2@users.noreply.github.com> Date: Mon, 2 Dec 2024 23:13:27 -0500 Subject: [PATCH] chore: update iced --- iced | 2 +- src/widget/text_input/input.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iced b/iced index aee94ca1..23869067 160000 --- a/iced +++ b/iced @@ -1 +1 @@ -Subproject commit aee94ca1ffa74c65c4e0e936bc850d1ff4d97e49 +Subproject commit 238690672d5e12e4290479698bb1bc357d629728 diff --git a/src/widget/text_input/input.rs b/src/widget/text_input/input.rs index bea23db8..f440b59c 100644 --- a/src/widget/text_input/input.rs +++ b/src/widget/text_input/input.rs @@ -1649,7 +1649,7 @@ where if !is_secure { if let Some((start, end)) = state.cursor.selection(value) { clipboard.write( - iced_core::clipboard::Kind::Primary, + iced_core::clipboard::Kind::Standard, value.select(start, end).to_string(), ); } @@ -1663,7 +1663,7 @@ where if !is_secure { if let Some((start, end)) = state.cursor.selection(value) { clipboard.write( - iced_core::clipboard::Kind::Primary, + iced_core::clipboard::Kind::Standard, value.select(start, end).to_string(), ); } @@ -1683,7 +1683,7 @@ where content } else { let content: String = clipboard - .read(iced_core::clipboard::Kind::Primary) + .read(iced_core::clipboard::Kind::Standard) .unwrap_or_default() .chars() .filter(|c| !c.is_control())