Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Not working in Electron #45

Closed
1 of 11 tasks
Avocher opened this issue Dec 7, 2017 · 6 comments
Closed
1 of 11 tasks

Not working in Electron #45

Avocher opened this issue Dec 7, 2017 · 6 comments

Comments

@Avocher
Copy link

Avocher commented Dec 7, 2017

Issue

Issue name

es6-tween relies on process.hrtime if available, which seems to work unexpectedly(?) in Electron.

Issue description

Animations doesn't progress in Electron.

Related

This issue is related to

  • LICENSE
  • README
  • ABOUT COPYRIGHT VIOLATION (be careful before checking this...!)
  • package.json
  • demos/examples
  • core.ts
  • Tween.ts
  • lite.ts
  • Easing.ts
  • Interpolation.ts
  • Timeline.js
@dalisoft
Copy link
Collaborator

dalisoft commented Dec 7, 2017

Hi @Avocher
Thanks for using our library
Do you called TWEEN.autoPlay(true)?

@Avocher
Copy link
Author

Avocher commented Dec 8, 2017

Yes, I tried both autoPlay and calling update. Setting process.hrtime = undefined makes the code work.

@dalisoft
Copy link
Collaborator

dalisoft commented Dec 8, 2017

There can you reference some similar issues from Electron?
I there can't find way of check Electron bug.
PR are welcome and would be helpful

@dalisoft
Copy link
Collaborator

@Avocher is your issue fixed?

@Avocher
Copy link
Author

Avocher commented Dec 15, 2017

Finally had the time to try it out and it works. Thank you!

@dalisoft
Copy link
Collaborator

Thank you for catching this bug

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants