make window label darker
This commit is contained in:
parent
7a47f429ad
commit
5bd5a756d7
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue