From 3b5a82cc05a02d1df5bdfa2934676f2861aa28ee Mon Sep 17 00:00:00 2001 From: lethosor Date: Thu, 27 Aug 2020 00:08:28 -0400 Subject: [PATCH] Change color of ListBox.select2_hint to grey to indicate enabled Ref dfhack/scripts#185 --- library/lua/gui/dialogs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/lua/gui/dialogs.lua b/library/lua/gui/dialogs.lua index 672d502d1..7684d927e 100644 --- a/library/lua/gui/dialogs.lua +++ b/library/lua/gui/dialogs.lua @@ -205,7 +205,7 @@ end function ListBox:onRenderFrame(dc,rect) ListBox.super.onRenderFrame(self,dc,rect) if self.select2_hint then - dc:seek(rect.x1+2,rect.y2):key('SEC_SELECT'):string(': '..self.select2_hint,COLOR_DARKGREY) + dc:seek(rect.x1+2,rect.y2):key('SEC_SELECT'):string(': '..self.select2_hint,COLOR_GREY) end end