Skip to content

Commit

Permalink
Pass clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
matthunz committed Oct 27, 2024
1 parent 2393e58 commit 9a2dc7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blitz-dom/src/layout/construct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
],
Expand Down

0 comments on commit 9a2dc7a

Please sign in to comment.