chore: update iced

This commit is contained in:
Ashley Wulber 2024-12-02 23:13:27 -05:00 committed by GitHub
parent de0c1921f7
commit 931165050d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

2
iced

@ -1 +1 @@
Subproject commit aee94ca1ffa74c65c4e0e936bc850d1ff4d97e49
Subproject commit 238690672d5e12e4290479698bb1bc357d629728

View file

@ -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())