mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-06 18:41:24 +01:00
ColorInput + ColorOutput
This commit is contained in:
parent
7ff5d1053f
commit
c22eafbe2f
2 changed files with 3 additions and 2 deletions
|
|
@ -549,7 +549,7 @@ byId("gridCellNumbers")?.addEventListener("change", function() {
|
|||
if (layerIsOn("toggleGrid")) drawGrid();
|
||||
});
|
||||
|
||||
document.getElementById("gridCellNumbersColor").addEventListener("input", updateGridCellNumbersStyle);
|
||||
ById("gridCellNumbersColor").addEventListener("input", updateGridCellNumbersStyle);
|
||||
|
||||
function updateGridCellNumbersStyle() {
|
||||
const color = document.getElementById("gridCellNumbersColor").value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue