2 Attachment(s)
4.1.5 image onDrop x,y to Token.addToken x,y draw location miss match ?
Not sure if this is a bug or a new feature for the changes of the image layers systems.
But the image onDrop callback x,y location no longer works as the Token.addToken x,y create location.
I've attached image.txt (lua) from core, and see token.jpg which shows that when dropping a token from assets, while the 'system' generated token ends up in the correct bottom right, the Token.addToken call using the provided ondrop x,y location ends up in the wrong location. ( Ive called it 'onDrop,Token.addToken' on the 'token.jpg' )
I'm not sure if this is a new bug due to the updates to the system, or if this is a new container scale factor that I should be taking into account.
If its a new scale factor, what is the correct function to call to get this value ?
At the moment a hardcoded 1.5 factor gets the tokens to the correct location. ( see commented out line 62 to enable the 1.5 scale factor. )
Thanks, Pete