Place TextInput cursor position on click

This commit is contained in:
Héctor Ramón Jiménez 2019-12-05 03:09:39 +01:00
parent e92ea48e88
commit 14fb7e13fb
3 changed files with 100 additions and 19 deletions

View file

@ -89,6 +89,10 @@ impl text_input::Renderer for Null {
20
}
fn measure_value(&self, _value: &str, _size: u16) -> f32 {
0.0
}
fn draw(
&mut self,
_bounds: Rectangle,