mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-09-21 20:27:36 +03:00
remove unused events from static elements
This commit is contained in:
parent
f793bfd7f7
commit
3eb9e2bc67
@ -662,16 +662,6 @@ viewHighlightable highlighterId marker focusIndex highlightable =
|
||||
, on "mousedown" (Pointer <| Down highlightable.groupIndex)
|
||||
, on "touchstart" (Pointer <| Down highlightable.groupIndex)
|
||||
, attribute "data-static" ""
|
||||
, Key.onKeyDownPreventDefault
|
||||
[ Key.right (Keyboard <| MoveRight highlightable.groupIndex)
|
||||
, Key.left (Keyboard <| MoveLeft highlightable.groupIndex)
|
||||
, Key.shiftRight (Keyboard <| SelectionExpandRight highlightable.groupIndex)
|
||||
, Key.shiftLeft (Keyboard <| SelectionExpandLeft highlightable.groupIndex)
|
||||
]
|
||||
, Key.onKeyUpPreventDefault
|
||||
[ Key.shiftRight (Keyboard <| SelectionApplyTool highlightable.groupIndex)
|
||||
, Key.shiftLeft (Keyboard <| SelectionApplyTool highlightable.groupIndex)
|
||||
]
|
||||
]
|
||||
(Just marker)
|
||||
highlightable
|
||||
|
Loading…
Reference in New Issue
Block a user