aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chuck/OSCGraphicsText.ck6
1 files changed, 3 insertions, 3 deletions
diff --git a/chuck/OSCGraphicsText.ck b/chuck/OSCGraphicsText.ck
index 59f12ea..58377be 100644
--- a/chuck/OSCGraphicsText.ck
+++ b/chuck/OSCGraphicsText.ck
@@ -54,11 +54,11 @@ public class OSCGraphicsText extends OSCGraphicsLayer {
string style;
if (flags & STYLE_BOLD)
- style +=> "b";
+ "b" +=> style;
if (flags & STYLE_ITALIC)
- style +=> "i";
+ "i" +=> style;
if (flags & STYLE_UNDERLINE)
- style +=> "u";
+ "u" +=> style;
osc_send.startMsg("/layer/"+name+"/style", "s");
style => osc_send.addString;