|
@@ -38,7 +38,7 @@ module BABYLON.GUI {
|
|
public toString(host: AdvancedDynamicTexture): string {
|
|
public toString(host: AdvancedDynamicTexture): string {
|
|
switch (this.unit) {
|
|
switch (this.unit) {
|
|
case ValueAndUnit.UNITMODE_PERCENTAGE:
|
|
case ValueAndUnit.UNITMODE_PERCENTAGE:
|
|
- return this.getValue(host) + "%";
|
|
|
|
|
|
+ return (this.getValue(host) * 100) + "%";
|
|
case ValueAndUnit.UNITMODE_PIXEL:
|
|
case ValueAndUnit.UNITMODE_PIXEL:
|
|
return this.getValue(host) + "px";
|
|
return this.getValue(host) + "px";
|
|
}
|
|
}
|