From 08e60f2351256dae95f3cfdc736dfcf2a61666db Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Wed, 20 Dec 2023 00:32:37 -0600 Subject: [PATCH] Fixed Issue #24 --- Crawler/InventoryConsumableWindow.cpp | 6 +++--- Crawler/Version.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Crawler/InventoryConsumableWindow.cpp b/Crawler/InventoryConsumableWindow.cpp index 20151674..41e54c0f 100644 --- a/Crawler/InventoryConsumableWindow.cpp +++ b/Crawler/InventoryConsumableWindow.cpp @@ -82,8 +82,8 @@ void Menu::InitializeConsumableInventoryWindow(){ //We don't have to actually populate the inventory list because now when an item gets added, it will automatically add the correct component in for us. inventoryWindow->ADD("Inventory Type Label",MenuLabel)({{0,0},{windowSize.x-1,18}},"Consumables",2,ComponentAttr::SHADOW|ComponentAttr::BACKGROUND|ComponentAttr::OUTLINE)END; - inventoryWindow->ADD("itemName",MenuLabel)(geom2d::rect(vf2d{2,100.f},{windowSize.x-4,windowSize.y-108}),"",1,ComponentAttr::SHADOW)END; - inventoryWindow->ADD("itemDescription",MenuLabel)(geom2d::rect(vf2d{2,112.f},{windowSize.x-4,windowSize.y-108}),"",1,ComponentAttr::SHADOW)END; + inventoryWindow->ADD("itemName",MenuLabel)(geom2d::rect(vf2d{2,95.f},{windowSize.x-4,windowSize.y-108}),"",1,ComponentAttr::SHADOW)END; + inventoryWindow->ADD("itemDescription",MenuLabel)(geom2d::rect(vf2d{2,122.f},{windowSize.x-4,windowSize.y-108}),"",1,ComponentAttr::SHADOW)END; - auto okButton=inventoryWindow->ADD("OK Button",MenuComponent)({{windowSize.x/2-24,158.f},{48,12}},"Ok",[](MenuFuncData data){Menu::CloseMenu();return true;})END; + auto okButton=inventoryWindow->ADD("OK Button",MenuComponent)({{windowSize.x/2-24,178.f},{48,12}},"Ok",[](MenuFuncData data){Menu::CloseMenu();return true;})END; } \ No newline at end of file diff --git a/Crawler/Version.h b/Crawler/Version.h index ac994121..67d5a37f 100644 --- a/Crawler/Version.h +++ b/Crawler/Version.h @@ -39,7 +39,7 @@ All rights reserved. #define VERSION_MAJOR 0 #define VERSION_MINOR 2 #define VERSION_PATCH 1 -#define VERSION_BUILD 4272 +#define VERSION_BUILD 4274 #define stringify(a) stringify_(a) #define stringify_(a) #a