sayyeahlo
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by sayyeahlo
-
-
Hello,
I'm trying to implement Draggable with Electronjs to make a multi-touch table.
Everything works fine until I apply a rotation on the parent of a draggable element, then the drag element is blocked.
It works as expected in chrome browser but in electron the matrix seems wrong. The points are converted to coma.
matrix(0,93969, 0,34202, -0,34202, 0,93969, 0, 0) instead of matrix( 0.93969,0.34202,-0.34202,0.93969,0,0)
I'm using TweenMax to apply the rotation so I'm wondering, is it a Chromium or gsap problem ?
In TweenMax source code, where is the function to apply the style attribute on the element ?
Thank you
Draggable & Electronjs
in GSAP
Posted
Thanks for the links, it works! (they never pop up when I was looking for the comma/dot problem on github...)
The solution is to change the local before compilation :
https://stackoverflow.com/questions/7165108/in-os-x-lion-lang-is-not-set-to-utf-8-how-to-fix-it
in my case "fr_FR" to "en_US"...
I was worried to implement all kind of drag/rotation interactions without gsap!