Skip to content

Commit

Permalink
Remove unused/left-over variable
Browse files Browse the repository at this point in the history
  • Loading branch information
veger committed Oct 31, 2024
1 parent 94a480c commit f9947ad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Yafc/Windows/PreferencesScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ private static void DrawGeneral(ImGui gui) {
}
}

float textBoxHeight; // measure the height of a text box, for use when drawing the item consumption input box.
using (gui.EnterRow()) {
gui.BuildText("Reactor layout:", topOffset: 0.5f);
if (gui.BuildTextInput(settings.reactorSizeX + "x" + settings.reactorSizeY, out string newSize, null, delayed: true)) {
Expand All @@ -156,7 +155,6 @@ private static void DrawGeneral(ImGui gui) {
settings.reactorSizeY = sizeY;
}
}
textBoxHeight = gui.lastRect.Height;
}

gui.AllocateSpacing();
Expand Down

0 comments on commit f9947ad

Please sign in to comment.