mirror of
https://github.com/keharriso/love-nuklear.git
synced 2025-09-10 16:17:47 -04:00
Nov 26, 2024, 10:55 PM
This commit is contained in:
parent
c99389dbad
commit
06c9ad4d03
1 changed files with 1 additions and 1 deletions
|
@ -1285,7 +1285,7 @@ static int nk_love_new_ui(lua_State *L)
|
|||
context = ctx;
|
||||
nk_love_checkFont(L, -1, &ctx->fonts[0]);
|
||||
context = current;
|
||||
nk_init_default(&ctx->nkctx, &ctx->fonts[0].font);
|
||||
nk_init_default(&ctx->nkctx, &ctx->fonts[0].nk_font);
|
||||
ctx->font_count = 1;
|
||||
ctx->nkctx.clip.copy = nk_love_clipboard_copy;
|
||||
ctx->nkctx.clip.paste = nk_love_clipboard_paste;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue