SaveTool: fix alignment.

This commit is contained in:
Guillaume Jacquemin 2021-07-10 16:48:58 +02:00
parent 69d4484c91
commit 9e7b6a4153

View file

@ -317,7 +317,7 @@ void SaveTool::drawResearchInventory() {
drawUnsafeText("%i", _currentProfile->getter()); \
ImGui::TableSetColumnIndex(2); \
ImGui::PushID(#setter); \
static Int var = _currentProfile->getter(); \
static Int var = _currentProfile->getter(); \
if(drawUnsafeWidget([]{ return ImGui::SmallButton(ICON_FA_EDIT); })) { \
(var) = _currentProfile->getter(); \
ImGui::OpenPopup("int_edit"); \