Webpack build for branch master: 10f98d8e57

This commit is contained in:
Travis CI 2018-01-27 06:46:04 +00:00
parent 9569afff1c
commit 07269365a7
2 changed files with 2 additions and 4 deletions

View file

@ -3364,9 +3364,7 @@ class Role extends Base {
* @readonly * @readonly
*/ */
get hexColor() { get hexColor() {
let col = this.color.toString(16); return `#${this.color.toString(16).padStart(6, '0')}`;
while (col.length < 6) col = `0${col}`;
return `#${col}`;
} }
/** /**

File diff suppressed because one or more lines are too long