mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-25 17:27:52 +03:00
fixed issue with click handling of explorer being to eager in accepting the selection
This commit is contained in:
parent
aa336af909
commit
7cea6af72b
@ -148,7 +148,8 @@ model searchbox =
|
||||
Moore { selection = Nothing, request = Nothing, view = Layout.element layout' }
|
||||
(search admissible env focus completions sel content infoLayout layout')
|
||||
-- if click is on a selectable region, we accept it
|
||||
Just _ -> search admissible env focus completions sel content infoLayout layout' Enter
|
||||
Just _ -> Layout.leafAtPoint layout' (Layout.ptFromPair xy) `Maybe.andThen` \i -> i `Maybe.andThen` \_ ->
|
||||
search admissible env focus completions sel content infoLayout layout' Enter
|
||||
FieldContent content -> Just <| case { completions | literals <- parseSearchbox admissible content.string } of
|
||||
completions ->
|
||||
let
|
||||
|
Loading…
Reference in New Issue
Block a user