|
@@ -238,6 +238,7 @@ var BABYLON;
|
|
|
}
|
|
|
// Render
|
|
|
context.font = "18px Arial";
|
|
|
+ context.strokeStyle = "white";
|
|
|
var measure = new GUI.Measure(0, 0, renderWidth, renderHeight);
|
|
|
this._rootContainer._draw(measure, context);
|
|
|
};
|
|
@@ -663,7 +664,7 @@ var BABYLON;
|
|
|
this._fontSize = new GUI.ValueAndUnit(18, GUI.ValueAndUnit.UNITMODE_PIXEL, false);
|
|
|
this._width = new GUI.ValueAndUnit(1, GUI.ValueAndUnit.UNITMODE_PERCENTAGE, false);
|
|
|
this._height = new GUI.ValueAndUnit(1, GUI.ValueAndUnit.UNITMODE_PERCENTAGE, false);
|
|
|
- this._color = "white";
|
|
|
+ this._color = "";
|
|
|
this._horizontalAlignment = Control.HORIZONTAL_ALIGNMENT_CENTER;
|
|
|
this._verticalAlignment = Control.VERTICAL_ALIGNMENT_CENTER;
|
|
|
this._isDirty = true;
|