diff options
Diffstat (limited to 'native/src/widget')
-rw-r--r-- | native/src/widget/text_input.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/widget/text_input.rs b/native/src/widget/text_input.rs index f88022fa..ae289069 100644 --- a/native/src/widget/text_input.rs +++ b/native/src/widget/text_input.rs @@ -793,9 +793,9 @@ where - (now - focus.updated_at).as_millis() % CURSOR_BLINK_INTERVAL_MILLIS; - shell.request_redraw( + shell.request_redraw(window::RedrawRequest::At( now + Duration::from_millis(millis_until_redraw as u64), - ); + )); } } _ => {} |