change BNF (but not implementation of BNF) for parsing, to handle layers, and also change minimum key in layer tree to be 1

This commit is contained in:
2025-08-09 11:10:34 +01:00
parent d3ace298d3
commit b765e406c7
8 changed files with 20 additions and 14 deletions

View File

@@ -746,7 +746,7 @@ struct
, modalNum
} = app
val layer = modalNum
val layer = Int.max (modalNum, 1)
in
{ mode = mode
, mouseX = mouseX
@@ -770,7 +770,7 @@ struct
, a = a
, layer = layer
, layerTree = layerTree
, modalNum = modalNum
, modalNum = 0
}
end