chore: update iced
This commit is contained in:
parent
de0c1921f7
commit
931165050d
2 changed files with 4 additions and 4 deletions
2
iced
2
iced
|
|
@ -1 +1 @@
|
|||
Subproject commit aee94ca1ffa74c65c4e0e936bc850d1ff4d97e49
|
||||
Subproject commit 238690672d5e12e4290479698bb1bc357d629728
|
||||
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue