From 9a2dc7a584cc44f3a63267cf27d41b343968bb73 Mon Sep 17 00:00:00 2001 From: Matt Hunzinger Date: Sun, 27 Oct 2024 16:43:20 -0400 Subject: [PATCH] Pass clippy --- packages/blitz-dom/src/layout/construct.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/blitz-dom/src/layout/construct.rs b/packages/blitz-dom/src/layout/construct.rs index 9a5419fb..98579d84 100644 --- a/packages/blitz-dom/src/layout/construct.rs +++ b/packages/blitz-dom/src/layout/construct.rs @@ -505,7 +505,7 @@ fn create_text_editor(doc: &mut Document, input_element_id: usize, is_multiline: &mut doc.layout_ctx, [ PlainEditorOp::SetText(text), - PlainEditorOp::SetScale(doc.viewport.scale() as f32), + PlainEditorOp::SetScale(doc.viewport.scale()), PlainEditorOp::SetWidth(10000.0), PlainEditorOp::SetDefaultStyle(styles), ],