From 5bd5a756d7d5a3fcf3d8131495d723d903d8763f Mon Sep 17 00:00:00 2001 From: Xinhao Yuan Date: Thu, 4 Jul 2019 23:05:34 -0400 Subject: [PATCH] make window label darker --- editor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor.lua b/editor.lua index b358148..173e20f 100644 --- a/editor.lua +++ b/editor.lua @@ -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()