Skip to content

Commit

Permalink
ui/picker.rs: remove a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
salman-farooq-sh committed Dec 22, 2024
1 parent 4939e5a commit 63f5b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-term/src/ui/picker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ impl<I: 'static + Send + Sync, D: 'static + Send + Sync> Component for Picker<I,
self.show_preview && self.file_fn.is_some() && area.width > MIN_AREA_WIDTH_FOR_PREVIEW;

let picker_width = if render_preview {
area.width * 3 / 8 // makes preview's width greater than the picker's
area.width * 3 / 8
} else {
area.width
};
Expand Down

0 comments on commit 63f5b06

Please sign in to comment.