More code style
This commit is contained in:
parent
7abda4436b
commit
2f56f8b890
@ -18770,9 +18770,8 @@ nk_window_is_hovered(struct nk_context *ctx)
|
|||||||
NK_ASSERT(ctx);
|
NK_ASSERT(ctx);
|
||||||
NK_ASSERT(ctx->current);
|
NK_ASSERT(ctx->current);
|
||||||
if (!ctx || !ctx->current) return 0;
|
if (!ctx || !ctx->current) return 0;
|
||||||
if(ctx->current->flags & NK_WINDOW_HIDDEN){
|
if(ctx->current->flags & NK_WINDOW_HIDDEN)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
|
||||||
return nk_input_is_mouse_hovering_rect(&ctx->input, ctx->current->bounds);
|
return nk_input_is_mouse_hovering_rect(&ctx->input, ctx->current->bounds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user