get away from depricated function
This commit is contained in:
parent
bb3b2eedf5
commit
b527d46fc1
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ class Member extends SnowFlake {
|
|||
colorPicker.watchForChange((_) => {
|
||||
console.log();
|
||||
color = _;
|
||||
hypomember.accent_color = Number.parseInt("0x" + _.substr(1, 16));
|
||||
hypomember.accent_color = Number.parseInt("0x" + _.substring(1));
|
||||
changed = true;
|
||||
regen();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue