From 30f02345a88fc03a5a71d6563f385ac090063bce Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 25 Mar 2020 13:57:02 +0100 Subject: Implement `Renderer::find_cursor_position` --- native/src/renderer/null.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'native/src/renderer/null.rs') diff --git a/native/src/renderer/null.rs b/native/src/renderer/null.rs index 0fcce5ad..9033a7da 100644 --- a/native/src/renderer/null.rs +++ b/native/src/renderer/null.rs @@ -114,10 +114,10 @@ impl text_input::Renderer for Null { fn offset( &self, _text_bounds: Rectangle, + _font: Font, _size: u16, _value: &text_input::Value, _state: &text_input::State, - _font: Font, ) -> f32 { 0.0 } @@ -127,8 +127,8 @@ impl text_input::Renderer for Null { _bounds: Rectangle, _text_bounds: Rectangle, _cursor_position: Point, - _size: u16, _font: Font, + _size: u16, _placeholder: &str, _value: &text_input::Value, _state: &text_input::State, -- cgit