mirror of https://github.com/helix-editor/helix
Fix `cargo clippy` error
parent
009024a720
commit
9c0f960ad4
|
@ -1186,7 +1186,7 @@ impl<T: 'static + Send + Sync, D> Picker<T, D> {
|
||||||
&& area.width >= MIN_AREA_WIDTH_FOR_PREVIEW
|
&& area.width >= MIN_AREA_WIDTH_FOR_PREVIEW
|
||||||
&& area.height >= MIN_AREA_HEIGHT_FOR_PREVIEW;
|
&& area.height >= MIN_AREA_HEIGHT_FOR_PREVIEW;
|
||||||
let stack_vertically = area.width / 2 < MIN_AREA_WIDTH_FOR_PREVIEW;
|
let stack_vertically = area.width / 2 < MIN_AREA_WIDTH_FOR_PREVIEW;
|
||||||
return (render_preview, stack_vertically);
|
(render_preview, stack_vertically)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue