Skip to content

Commit d1f18e9

Browse files
committed
the blue color was set with the green reference
1 parent 88b8147 commit d1f18e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Copy Swift Code.sketchplugin/Contents/Sketch/script.cocoascript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function generateCode(initializer, context) {
3131
' = ' + initializer + '(' +
3232
'red: ' + color.red() + ', ' +
3333
'green: ' + color.green() + ', ' +
34-
'blue: ' + color.green() + ', ' +
34+
'blue: ' + color.blue() + ', ' +
3535
'alpha: ' + color.alpha() + ')'
3636
);
3737
}

0 commit comments

Comments
 (0)