diff --git a/nuklear.h b/nuklear.h index 21b1655..6ca3512 100644 --- a/nuklear.h +++ b/nuklear.h @@ -18770,9 +18770,8 @@ nk_window_is_hovered(struct nk_context *ctx) NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return 0; - if(ctx->current->flags & NK_WINDOW_HIDDEN){ + if(ctx->current->flags & NK_WINDOW_HIDDEN) return 0; - } return nk_input_is_mouse_hovering_rect(&ctx->input, ctx->current->bounds); }