Conversation
|
Someone is attempting to deploy this pull request to the Pierre Computer Company Team on Vercel. To accomplish this, the commit author's email address needs to be associated with a GitHub account. Learn more about how to change the commit author information. |
amadeus
left a comment
There was a problem hiding this comment.
Some good incentive for me to make this API easier to work with 🤔
| const [hoveredLineKey, setHoveredLineKey] = useState<LineKey | null>(null); | ||
| const containerRef = useRef<HTMLDivElement>(null); | ||
|
|
||
| const handleLineEnter = useCallback((props: any) => { |
There was a problem hiding this comment.
I do have some ideas for this, but haven't gotten around to it. I think ideally it would be some API like renderMouseOverDecoration or something, and you'd just get a render function to render a component like a button, and in that render function you'd get an object of the line number and side. and so then automatically on mouse over we'd call that render function and render that wee lad
| spriteSVG: SVGElement | undefined; | ||
| private eventListenersAttached = false; | ||
|
|
||
| private attachEventListeners() { |
There was a problem hiding this comment.
Ideally this wouldn't be necessary, I might have to poke around and fix this
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
No description provided.