We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19b3955 commit 0e80202Copy full SHA for 0e80202
pdlua.c
@@ -935,7 +935,6 @@ static int pdlua_class_new(lua_State *L)
935
pdlua_widgetbehavior.w_visfn = pdlua_vis;
936
pdlua_widgetbehavior.w_activatefn = pdlua_activate;
937
class_setwidget(c, &pdlua_widgetbehavior);
938
-
939
940
if (c) {
941
/* a class with a "menu-open" method will have the "Open" item highlighted in the right-click menu */
pdlua_gfx.h
@@ -545,7 +545,7 @@ static int reset_transform(lua_State* L) {
545
546
static int can_draw(t_pdlua* obj)
547
{
548
- return glist_isvisible(obj->canvas) && gobj_shouldvis(obj, obj->canvas);
+ return gobj_shouldvis(obj, obj->canvas);
549
}
550
551
static int free_path(lua_State* L)
0 commit comments