Change color of ListBox.select2_hint to grey to indicate enabled

Ref dfhack/scripts#185
develop
lethosor 2020-08-27 00:08:28 -04:00
parent c034276af5
commit 3b5a82cc05
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 1 additions and 1 deletions

@ -205,7 +205,7 @@ end
function ListBox:onRenderFrame(dc,rect) function ListBox:onRenderFrame(dc,rect)
ListBox.super.onRenderFrame(self,dc,rect) ListBox.super.onRenderFrame(self,dc,rect)
if self.select2_hint then 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
end end