Added explorer selection highlight

This commit is contained in:
Paul Chiusano 2015-01-29 12:04:59 -05:00
parent 54489f9986
commit 38d8812c60

View File

@ -83,7 +83,15 @@ view ctx model =
ctx.explorerActive
model.explorer
in (highlightedTermLayout, explorerLayout)
explorerHighlight : Element
explorerHighlight =
Selection1D.view Styles.explorerSelection explorerLayout model.explorerSelection
highlightedExplorerLayout : Layout (Result Containment Int)
highlightedExplorerLayout =
Layout.transform (\e -> Element.layers [e, explorerHighlight]) explorerLayout
in (highlightedTermLayout, highlightedExplorerLayout)
--
-- viewExplorer : Model -> Layout
-- view : Int -> Term -> Layout View.L