UnitedLexCorp / SimpleTalk

An implementation of HyperTalk in Ohm-js
Apache License 2.0
7 stars 1 forks source link

Pinning does not fix top/left properly #220

Open dkrasner opened 3 years ago

dkrasner commented 3 years ago

Main Points

Setting the pinning should fix the corresponding top and left properties. Otherwise you will get weird effects where, for example, the position properties keep changing but the element is not being moved in the corresponding direction.

Example: Take any view and set "pinning" to "bottom". As you move it around the element will be pinned to the bottom but you'll see the top property continue to update.