Skip to content

Commit

Permalink
Make staff raise description easier to read
Browse files Browse the repository at this point in the history
White text didn't show up well against the yellow background.
Changed to a black font.

Fixes CorsixTH#383
  • Loading branch information
TheCycoONE committed Nov 13, 2014
1 parent 411015f commit 9e962a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CorsixTH/Lua/dialogs/staff_rise.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function UIStaffRise:UIStaffRise(ui, staff, rise_amount)

self.panel_sprites = app.gfx:loadSpriteTable("QData", "Req12V", true)
self.white_font = app.gfx:loadFont("QData", "Font01V")
self.black_font = app.gfx:loadFont("QData", "Font00V")
self.face_parts = app.gfx:loadRaw("Face01V", 65, 1350, nil, "Data", "MPalette.dat")

-- Left hand side
Expand Down Expand Up @@ -136,7 +137,7 @@ function UIStaffRise:draw(canvas, x, y)
end

-- Complaint text
font:drawWrapped(canvas, self.text, x + 200, y + 20, 140)
self.black_font:drawWrapped(canvas, self.text, x + 200, y + 20, 140)
end

function UIStaffRise:drawDoctorAttributes(canvas)
Expand Down

1 comment on commit 9e962a0

@MarkL1961
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wagerequest
Looks more readable for me, just need to find out what it looks like for @Glimmer-Man

Please sign in to comment.