This commit is contained in:
meehl committed 2026-08-12 20:46:43 +02:00
1 parent 99fc9f608e
commit e43da1b9e8
25 files changed
+110 -135

No files matched your search

+3 -5
View File
@@ -81,11 +81,9 @@ impl WindowState {
}
pub fn get_clipboard_text(&mut self) -> Option<String> {
if let Some(clipboard) = &mut self.clipboard {
clipboard.get_text()
} else {
None
}
self.clipboard
.as_mut()
.and_then(|clipboard| clipboard.get_text())
}
pub fn request_redraw(&self) {