SaveTool: fix alignment.
This commit is contained in:
parent
69d4484c91
commit
9e7b6a4153
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ void SaveTool::drawResearchInventory() {
|
||||||
drawUnsafeText("%i", _currentProfile->getter()); \
|
drawUnsafeText("%i", _currentProfile->getter()); \
|
||||||
ImGui::TableSetColumnIndex(2); \
|
ImGui::TableSetColumnIndex(2); \
|
||||||
ImGui::PushID(#setter); \
|
ImGui::PushID(#setter); \
|
||||||
static Int var = _currentProfile->getter(); \
|
static Int var = _currentProfile->getter(); \
|
||||||
if(drawUnsafeWidget([]{ return ImGui::SmallButton(ICON_FA_EDIT); })) { \
|
if(drawUnsafeWidget([]{ return ImGui::SmallButton(ICON_FA_EDIT); })) { \
|
||||||
(var) = _currentProfile->getter(); \
|
(var) = _currentProfile->getter(); \
|
||||||
ImGui::OpenPopup("int_edit"); \
|
ImGui::OpenPopup("int_edit"); \
|
||||||
|
|
Loading…
Reference in a new issue