mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-15 14:35:01 +03:00
fixed UI glitch in displaying of explorer completions
This commit is contained in:
parent
5322e1d670
commit
4bebb003bb
@ -76,7 +76,7 @@ view origin searchbox model = case model of
|
||||
statusColor = Styles.statusColor ok
|
||||
fld = Field.field (Styles.autocomplete ok) searchbox s.prompt s.input
|
||||
completions =
|
||||
let fit e = E.width (E.widthOf s.above - 12 `max` E.widthOf e) e
|
||||
let fit e = E.width ((E.widthOf s.above - 12) `max` E.widthOf e) e
|
||||
in List.indexedMap (\i e -> Layout.embed (Result.Ok i) (fit e)) s.completions
|
||||
inside = Result.Err Inside
|
||||
bottom = Styles.explorerOutline statusColor <|
|
||||
|
Loading…
Reference in New Issue
Block a user