summaryrefslogtreecommitdiffstats
path: root/native/src/renderer/null.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/renderer/null.rs')
-rw-r--r--native/src/renderer/null.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/native/src/renderer/null.rs b/native/src/renderer/null.rs
index 02f033a5..43076d61 100644
--- a/native/src/renderer/null.rs
+++ b/native/src/renderer/null.rs
@@ -93,6 +93,16 @@ impl text_input::Renderer for Null {
0.0
}
+ fn offset(
+ &self,
+ _text_bounds: Rectangle,
+ _size: u16,
+ _value: &text_input::Value,
+ _state: &text_input::State,
+ ) -> f32 {
+ 0.0
+ }
+
fn draw(
&mut self,
_bounds: Rectangle,