边缘世界 RimWorld

边缘世界 RimWorld

Work Tab
Uuugggg 2018 年 2 月 8 日 上午 12:33
Work Priority Colors are off
Is it just me but the colors are a bit off? #1 isn't quite green. No, it's not just me - it's the code ( https://github.com/FluffierThanThou/WorkTab/blob/96e11782d0a29a7edcdac5f5d4b3ce810cc2442b/Source/Utilities/DrawUtilities.cs )

Color.Lerp( Color.green, Color.white, ((float) priority) / firstThird );

A Priority One task should be Lerping with 0. This is doing 1/X, making it green-ish white.

Plus, where did yellow go? I want yellow. On that note, I want to set all the colors. I want to set X colors and you can Lerp them together if needed.
< >
正在显示第 1 - 2 条,共 2 条留言
Uuugggg 2018 年 2 月 11 日 下午 11:33 
HELLO AGAIN.

I went ahead and downloaded the source off github, installed Visual Studio 2017, so that I could make this happen.

https://github.com/FluffierThanThou/WorkTab/pull/86
Uuugggg 2018 年 2 月 12 日 上午 1:34 
While I'm here I diagnosed a bug where the maxPriority setting was not loaded. Changed out the Settings from using static vars, and instead made one static method to get Settings from LoadedModManager (http:// ludeon.com /forums/index.php?topic=32735.0 <- steam removes links?)

*This did not make saving my color list any more graceful as I had hoped. Loading sets the list to null? It requires a helper copy to work. Whatever.

In the same pull request: https://github.com/FluffierThanThou/WorkTab/pull/86
最后由 Uuugggg 编辑于; 2018 年 2 月 12 日 上午 1:35
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50