Skip to content

4.7.2

Compare
Choose a tag to compare
@s4cha s4cha released this 13 Nov 09:48
· 80 commits to master since this release
  • Fixes the issue described in #123 where equation api had bugs when using >= & <= with single values. Props @jsonfellin for noticing, thanks @excursus for chiming in πŸ™

Before

view.Width >= 30 β‰  view.width(>=30)
view.Width >= 30 was equivalent to view.Width >= Width + 30 (Wrong)
view.Botton >= 100 was equivalent to view.Bottom >= Bottom + 100 (Wrong)
view.Right >= 100 was equivalent to view.Right >= Right + 100 (Wrong)

Now

view.Width >= 30 == view.width(>=30)
view.Height <= 100 == view.height(<=100)
view.Botton >= 100 == view.Bottom >= Bottom - 100
view.Right >= 100 == view.Right >= Right - 100
  • Big thanks @lukysnupy for his first contribution on improving our SPM integration πŸ‘