|
@@ -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);
|
|
|
}
|
|
|
|