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.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/native/src/renderer/null.rs b/native/src/renderer/null.rs
index b1743dbf..9376d540 100644
--- a/native/src/renderer/null.rs
+++ b/native/src/renderer/null.rs
@@ -44,14 +44,14 @@ impl text::Renderer for Null {
const CHECKMARK_ICON: char = '0';
const ARROW_DOWN_ICON: char = '0';
- fn default_size(&self) -> u16 {
- 20
+ fn default_size(&self) -> f32 {
+ 20.0
}
fn measure(
&self,
_content: &str,
- _size: u16,
+ _size: f32,
_font: Font,
_bounds: Size,
) -> (f32, f32) {