From 68982dc693e9704c7262751bdab9d7d7dc29ff35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20MAGIS?= Date: Tue, 3 Mar 2015 11:43:42 +1100 Subject: [PATCH] Bug correction : incorrect preview on text when changing color or size after text plus options --- Widget.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Widget.js b/Widget.js index 85a6fb4..7280aef 100644 --- a/Widget.js +++ b/Widget.js @@ -848,7 +848,8 @@ define([ this.own(on(this.textSymChooser,'change',lang.hitch(this,function(symbol){ this.drawBox.setTextSymbol(symbol); this._controlTextIsWritten(); - this._phantomSymbol = this.textSymChooser.getSymbol(); + this._update_add_textSymbol(); + this._phantomSymbol = this.textSymChooser.symbol; this._enableMapPreview(true); })));