Skip to content

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bomberstudios committed Oct 30, 2014
1 parent a17aabf commit 970497a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Toggle Constrain Proportions.sketchplugin
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Toggles the currently selected item(s) 'Constrain Proportions' setting
for (var i=0; i < [selection count]; i++) {
var s = [selection objectAtIndex:i]
[[s frame] setConstrainProportions:![s constrainProportions]]
}
// This is needed to update the inspector's icon
[doc reloadInspector]

0 comments on commit 970497a

Please sign in to comment.