-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ability to use offscreenCanvasPonyfill? #18
Comments
cmdcolin
changed the title
Ability to use offscreenCanvasPolyfill?
Ability to use offscreenCanvasPonyfill?
Aug 19, 2021
Maybe I found issue It looks like there is an important path to import this from diff --git a/src/ArcRenderer/index.js b/src/ArcRenderer/index.js
index d6070cc..bf90c9f 100644
--- a/src/ArcRenderer/index.js
+++ b/src/ArcRenderer/index.js
@@ -7,12 +7,7 @@ import {
import { PrerenderedCanvas } from '@jbrowse/core/ui'
import { bpSpanPx } from '@jbrowse/core/util'
-import {
- createCanvas,
- createImageBitmap,
-} from '@jbrowse/core/util/offscreenCanvasPonyfill'
-
-console.log({ ConfigurationSchema })
+import { createCanvas, createImageBitmap } from '@jbrowse/core/util'
|
I think we will also want renderToAbstractCanvas This gives the error still |
This is a working example of updating to a new renderer https://github.com/cmdcolin/jbrowse-plugin-arc-renderer with #2231 merged |
Canvas renderer at least. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was trying to reboot the jbrowse-plugin-arc-renderer but it seemed to fail on offscreenCanvasPonyfill
I made this repo to try to show
https://github.com/cmdcolin/jbrowse-plugin-arc-renderer2
Cloning the repo and running yarn should replicate issue, it prints some binary to the console as seen in log below
The text was updated successfully, but these errors were encountered: