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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user