rednblackgames / HyperLap2D

A powerful, platform-independent, visual editor for complex 2D worlds and scenes.
https://hyperlap2d.rednblack.games/
GNU General Public License v3.0
365 stars 66 forks source link

Changing the width and height of a primitive doesn't work #79

Closed Klemms closed 2 years ago

Klemms commented 2 years ago

Describe the bug In the hyperlap editor, if you try to change the width and height of a primitive, nothing happens. (Also note that changing the scale isn't the same as changing the size)

To Reproduce Steps to reproduce the behavior:

  1. Create a new primitive
  2. Try to change it's width or height
  3. Size doesn't change

Expected behavior Size changes

Desktop (please complete the following information):

fgnm commented 2 years ago

That's right, because primitives are controlled by a polygon shape which automatically adjust their sizes. To modify a primitive (not only width/height but also its shape) use the Polygon Tool ;)