Skip to content
Snippets Groups Projects
Commit 91f5c491 authored by Chris Garrity's avatar Chris Garrity
Browse files

refactor to create play-button for sound items

Play button doesn’t have a ‘touch-outside’ listener to stop sounds. That seems to be ok as other events cause the sound to stop.

Both handleClick and handleMouseDown are needed. Must use handleMouseDown for `preventDefault` to skip setting focus on the item. handleClick is needed to prevent the Click from propagating to the item and selecting it.
parent 41cc11c3
No related branches found
Tags 0.1.0-prerelease.20190801170416
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment