baku89 / glisp

Glisp is a Lisp-based design tool that combines generative approaches with traditional design methods, empowering artists to discover new forms of expression.
https://glisp.app
MIT License
1.12k stars 29 forks source link

commit:cfae966 broken on firefox #10

Open micuat opened 4 years ago

micuat commented 4 years ago

does not load (window is empty) on firefox 78.0.2 (64-bit) on windows 10.

in console,

image

micuat commented 4 years ago

inspector: image

baku89 commented 4 years ago

It's because I used OffscreenCanvas for hit detection (which is for "Click to select a path in viewport" feature) and didn't implement its fallback for environments that don't support OffScreenCanvas yet. So I assume the newest version doesn't work in iOS Safari, too.

At present, I'd like to focus on supporting only Chrome since I've been also working for the Electron version. It might be better to show some alerts for such an environment ;)

baku89 commented 4 years ago

Oh, I just noticed I don't need to use OffscreenCanvas because I didn't implement HitDetector (for detecting hovering item by cursor's position on the viewport) so that it runs in the Worker thread yet.

micuat commented 4 years ago

commit:198294a works on firefox. should we close this issue...?

baku89 commented 4 years ago

Look that way. For cases like this, it might be better to show the alert message showing the recommended environment for viewers using mobile, IE, and so on.