This commit is contained in:
@@ -96,7 +96,7 @@ public class SudokuRenderer {
|
|||||||
String cellText = "";
|
String cellText = "";
|
||||||
if (symbol != -1)
|
if (symbol != -1)
|
||||||
cellText += Integer.toString(symbol + 1);
|
cellText += Integer.toString(symbol + 1);
|
||||||
if (ImGui.button(cellText + "##" + index, cellSize)) {
|
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