From c262007ca8e7246ea6f480913ef6b33d2badae89 Mon Sep 17 00:00:00 2001 From: Persson-dev Date: Thu, 30 Jan 2025 17:28:22 +0100 Subject: [PATCH] fix multithreading issue --- app/src/main/java/gui/SudokuRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/gui/SudokuRenderer.java b/app/src/main/java/gui/SudokuRenderer.java index b246a80..7b66580 100644 --- a/app/src/main/java/gui/SudokuRenderer.java +++ b/app/src/main/java/gui/SudokuRenderer.java @@ -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;