Don't let picker be too narrow

This commit is contained in:
Dmitry Sharshakov 2021-08-28 13:55:52 +03:00
parent 890b51b568
commit 5e4da09be2
No known key found for this signature in database
GPG Key ID: 471FD32E15FD8473

View File

@ -1111,7 +1111,7 @@ impl Component for EditorView {
if let Some(ref vars) = cx.editor.variables {
let mut text = String::new();
let mut height = 0;
let mut max_len = 0;
let mut max_len = 20;
let per_page = 15;
let num_vars = vars.len();