#28 修复解析properties

This commit is contained in:
yhh
2020-08-14 11:44:20 +08:00
parent a2a73562a0
commit 15f6b06348
15 changed files with 1681 additions and 195 deletions

View File

@@ -41,7 +41,7 @@ module es {
*/
static color16ToUnit($color:string): number {
if (!$color)
return 0x000000;
return 0xFFFFFF;
var colorStr: string = "0x" + $color.slice(1);
return parseInt(colorStr, 16);
}