add new field to app type, to distinguish between modes (one mode for normal insertion/deleteion, another mode for saving, etc.)
This commit is contained in:
@@ -20,7 +20,8 @@ struct
|
||||
val xClickPoints = ClickPoints.generate (wStart, wFinish, numClickPoints)
|
||||
val yClickPoints = ClickPoints.generate (hStart, hFinish, numClickPoints)
|
||||
in
|
||||
{ triangles = []
|
||||
{ mode = AppType.NORMAL_MODE
|
||||
, triangles = []
|
||||
, triangleStage = NO_TRIANGLE
|
||||
, windowWidth = windowWidth
|
||||
, windowHeight = windowHeight
|
||||
|
||||
Reference in New Issue
Block a user