diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-11-24 00:47:02 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-11-24 01:33:22 +0100 |
commit | 0f2faff4e73924c286254b9996ae46796b08b709 (patch) | |
tree | 33c4079f86709cfa24799f1bb3bf7ca3ca56cff2 /src/Utils.cpp | |
parent | Fix one more wrong background color (diff) | |
download | nheko-0f2faff4e73924c286254b9996ae46796b08b709.tar.xz |
Use a more random hash to generate user colors
Fixes an issue where most uses just had their color determined by their username length and distributes the colors a bit more evenly.
Diffstat (limited to 'src/Utils.cpp')
-rw-r--r-- | src/Utils.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp |