From 970497a097d7296fbf75ace8c7a3b781dbd3307d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=20Mun=CC=83oz?= Date: Thu, 30 Oct 2014 15:20:28 +0100 Subject: [PATCH] Added comments --- Toggle Constrain Proportions.sketchplugin | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Toggle Constrain Proportions.sketchplugin b/Toggle Constrain Proportions.sketchplugin index 2972bda..4fc307b 100644 --- a/Toggle Constrain Proportions.sketchplugin +++ b/Toggle Constrain Proportions.sketchplugin @@ -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]