From 752eacec7cac0422a335cd6ed670421031fa741a Mon Sep 17 00:00:00 2001 From: Kevin Harrison Date: Fri, 14 Dec 2018 17:32:56 -0500 Subject: [PATCH] Fix tooltip transparency --- src/nuklear_love.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nuklear_love.c b/src/nuklear_love.c index b1637ba..8f09e72 100644 --- a/src/nuklear_love.c +++ b/src/nuklear_love.c @@ -637,8 +637,8 @@ static void nk_love_draw_rect(int x, int y, unsigned int w, lua_pushstring(L, "line"); else lua_pushstring(L, "fill"); - lua_pushnumber(L, x + 0.5); - lua_pushnumber(L, y + 0.5); + lua_pushnumber(L, x); + lua_pushnumber(L, y); lua_pushnumber(L, w); lua_pushnumber(L, h); lua_pushnumber(L, r);