diff --git a/code/foundation/src/gui/inventory.c b/code/foundation/src/gui/inventory.c index 0067168..08ef819 100644 --- a/code/foundation/src/gui/inventory.c +++ b/code/foundation/src/gui/inventory.c @@ -95,8 +95,8 @@ inv_draw_result inventory_draw_crafting_btn(float xpos, float ypos, const char * recipe rp = craft_get_recipe_data(craft_get_recipe_id_from_product(id)); int num_reagents = 0; for (int i = 0; rp.reagents[i].id; i++) num_reagents++; - if (nk_begin(game_ui , name, nk_rect(mpos.x+15, mpos.y+15, name_width+5, 80+25*(float)num_reagents), - NK_WINDOW_BORDER | NK_WINDOW_TITLE | NK_WINDOW_NO_INPUT)) { + if (nk_begin(game_ui , name, nk_rect(mpos.x+15, mpos.y+15, name_width+5, 30+30*(float)num_reagents), + NK_WINDOW_BORDER | NK_WINDOW_NO_INPUT | NK_WINDOW_NO_SCROLLBAR)) { if (nk_tree_push_id(game_ui, NK_TREE_NODE, "Reagents", NK_MAXIMIZED, id)) { for (asset_id i = 0; rp.reagents[i].id; i++) { nk_label(game_ui, asset_names[rp.reagents[i].id], NK_TEXT_LEFT); diff --git a/eco2d.10x b/eco2d.10x index 00fb4aa..5845514 100644 --- a/eco2d.10x +++ b/eco2d.10x @@ -38,6 +38,8 @@ ZPL_IMPL _WIN32 _WIN64 + RAYLIB_NUKLEAR_IMPLEMENTATION + NK_IMPLEMENTATION