fix multithreading issue
This commit is contained in:
@@ -126,7 +126,7 @@ public class SudokuRenderer {
|
|||||||
ImGui.pushStyleColor(ImGuiCol.Button, new ImVec4(blockColor.r, blockColor.g, blockColor.b, 1.0f));
|
ImGui.pushStyleColor(ImGuiCol.Button, new ImVec4(blockColor.r, blockColor.g, blockColor.b, 1.0f));
|
||||||
String cellText = "";
|
String cellText = "";
|
||||||
if (symbol != -1)
|
if (symbol != -1)
|
||||||
cellText += Options.Symboles.getSymbols().get(cell.getSymbolIndex());
|
cellText += Options.Symboles.getSymbols().get(symbol);
|
||||||
if (ImGui.button(cellText + "##" + index, cellSize) && cell.isMutable()) {
|
if (ImGui.button(cellText + "##" + index, cellSize) && cell.isMutable()) {
|
||||||
ImGui.openPopup("editPopup");
|
ImGui.openPopup("editPopup");
|
||||||
currentCell = cell;
|
currentCell = cell;
|
||||||
|
|||||||
Reference in New Issue
Block a user