Open
Description
I still find code like this unnecessarily complex width: self.source.width / root.frames-wide * 1px;
.
Even though it's technically the same thing, would it be possible to have px(width: self.source.width / root.frames-wide)
and postfix (width: self.source.width / root.frames-wide).px()
. Or toInt() or whatever the best name is. It would make the language look more friendly to new starters (especially design folk), you don't have to understand math order of operations, etc.