Skip to content

Tuesday JS Beta 0.76

Compare
Choose a tag to compare
@Kirilllive Kirilllive released this 26 Oct 13:25
· 582 commits to master since this release

Updates in this release:

  • Fixed bug with HotSpot parameter
  • Fixed bug with preview parameters in scene editor
  • Fixed problem with incorrect scrolling in scene editor

The project needs help solving an issue with the resize / drag / rotate tool in the scene editor. It is necessary to implement the correct resizing of the object, taking into account its angle of inclination and position.

Screen-Recording-2021-10-25-at-14 42

I am not good at trigonometry to solve this problem. I found a very similar description of my problem on stackoverflow.
But I could not use the solution from there correctly, partly due to the fact that in TuesdayJS one

object is used to change the size and position, and not two separate ones as there.

If someone can help me to solve this problem I would be very grateful.

For this in the repositories there is a separate file with the code of this tool DragElements 2.zip
Or in code of tuesday_visual.html file which starts with function make_resizable(s,f)