Skip to content

Commit

Permalink
Make Handles constrainProportions example square
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed Apr 22, 2017
1 parent 9a7d3fb commit ae9e203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _plugin_docs/handles.md
Expand Up @@ -122,8 +122,8 @@ $('canvas').addLayer({
fillStyle: '#fff',
strokeStyle: '#c33',
strokeWidth: 2,
x: 160, y: 150,
width: 150, height: 80,
x: 160, y: 130,
width: 80, height: 80,
constrainProportions: true,
// Constrain the rectangle to a square shape
aspectRatio: 1,
Expand Down

0 comments on commit ae9e203

Please sign in to comment.