mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Fix(egui): a lint error
This commit is contained in:
@@ -144,7 +144,7 @@ pub(crate) fn paint_ime_preedit_text_visuals(
|
||||
return;
|
||||
}
|
||||
|
||||
if cfg!(target_os = "windows")
|
||||
if matches!(ui.ctx().os(), crate::os::OperatingSystem::Windows)
|
||||
&& let Some(r) = &relative_active_range
|
||||
&& r.start.index == 0
|
||||
&& r.end.index == 0
|
||||
|
||||
Reference in New Issue
Block a user