imgui-js icon indicating copy to clipboard operation
imgui-js copied to clipboard

Fix Safari Clicking problem

Open adminy opened this issue 6 years ago • 4 comments

Added mouse click event listener, so safari users are happy.

Also perhaps close issue #7 .

adminy avatar Mar 22 '19 20:03 adminy

I would personally suggest adding https://github.com/jquery/PEP instead of the custom mouse events (which may even fire off events effectively twice on all other browsers).

luney112 avatar Mar 22 '19 21:03 luney112

It already looks full of dependencies in my opinion, took me hours to figure out how to completely remove typescript, so I can port it to non-browser, non-node environment. I would suggest make it more independent among modules before adding anything else.

adminy avatar Mar 22 '19 21:03 adminy

Why would you remove typescript? I don't quite understand. Typescript will transpile the code to es6/es5 as necessary. Typescript is not what runs in the browser.

PEP itself should run in all environments that have the proper host objects and can run javascript. What environment do you need to run in?

luney112 avatar Mar 29 '19 02:03 luney112

A headless VM running a stripped down V8 javascript engine.

adminy avatar Mar 29 '19 13:03 adminy