cassowary.js icon indicating copy to clipboard operation
cassowary.js copied to clipboard

Allow restricted external variables

Open cacaodev opened this issue 10 years ago • 0 comments

Currently, restricted variables (non negative) are only allowed internally but not when using the api. In a UI environment, elements are generally defined by 4 variables and half of them are expected to be non negative (width and height). It would be easier for developers to just declare these variables as restricted rather than adding v>=0 constraints for all the variables.

cacaodev avatar Apr 02 '14 18:04 cacaodev