Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure to use non-null hgRef #804

Merged
merged 2 commits into from
Aug 23, 2022
Merged

fix: ensure to use non-null hgRef #804

merged 2 commits into from
Aug 23, 2022

Conversation

sehilyi
Copy link
Member

@sehilyi sehilyi commented Aug 19, 2022

Change List

  • Sometimes, api.exportPng() was making errors since hgRef is null. I believe this addresses the issue.

Screen Shot 2022-08-19 at 16 34 48

Checklist

  • Ensure the PR works with all demos on the online editor
  • Unit tests added or updated
  • Examples added or updated
  • Documentation updated (e.g., added API functions)
  • Screenshots for visual changes (e.g., new encoding support or UI change on Editor)

Copy link
Member

@manzt manzt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

…ref (#805)

* feat: replace useEffect with useImperativeHandle, proxy HiGlass API

* chore: add refAsReadonlyProxy helper

* chore: return copy of tracks
@sehilyi sehilyi merged commit 9978eb8 into master Aug 23, 2022
@sehilyi sehilyi deleted the sehilyi-patch-2 branch August 23, 2022 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants