update settings menu, misc tweaks and fixes

This commit is contained in:
2020-09-24 10:45:15 -05:00
parent 9558370ab9
commit 4c8e6c3d5f
6 changed files with 97 additions and 81 deletions

View File

@@ -12,7 +12,7 @@ class IMICFPS
def draw
return if @text.text.empty?
width = @text.width + 8
width = @text.markup_width + 8
Gosu.draw_rect(0, 0, width, (@text.height + 4), Gosu::Color.rgba(0, 0, 0, 100))
Gosu.draw_rect(2, 2, width - 4, (@text.height + 4) - 4, Gosu::Color.rgba(100, 100, 100, 100))