make window label darker

This commit is contained in:
Xinhao Yuan 2019-07-04 23:05:34 -04:00
parent 7a47f429ad
commit 5bd5a756d7
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ function start_editor(data)
cr:set_font_face(cr:get_font_face())
msg = tostring(i)
ext = cr:text_extents(msg)
cr:set_source_rgba(1, 1, 1, 1)
cr:set_source_rgba(0.75, 0.75, 0.75, 1)
cr:move_to(sa.x + sa.width / 2 - ext.width / 2 - ext.x_bearing, sa.y + sa.height / 2 - ext.height / 2 - ext.y_bearing)
cr:show_text(msg)
cr:reset_clip()