mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 10:42:23 +00:00
get away from depricated function
This commit is contained in:
1 parent
bb3b2eedf5
commit
b527d46fc1
1 file changed
+1
-1
@@ -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();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user