fix multithreading issue

This commit is contained in:
2025-01-30 17:28:22 +01:00
parent 73f572ee18
commit c262007ca8

View File

@@ -126,7 +126,7 @@ public class SudokuRenderer {
ImGui.pushStyleColor(ImGuiCol.Button, new ImVec4(blockColor.r, blockColor.g, blockColor.b, 1.0f));
String cellText = "";
if (symbol != -1)
cellText += Options.Symboles.getSymbols().get(cell.getSymbolIndex());
cellText += Options.Symboles.getSymbols().get(symbol);
if (ImGui.button(cellText + "##" + index, cellSize) && cell.isMutable()) {
ImGui.openPopup("editPopup");
currentCell = cell;