allow width and height to have a different number of click points
This commit is contained in:
@@ -18,7 +18,8 @@ struct
|
||||
val initialModel = AppInit.fromWindowWidthAndHeight
|
||||
( Constants.windowWidth
|
||||
, Constants.windowHeight
|
||||
, Constants.initialNumClickPoints
|
||||
, Constants.initialWidthClickPoints
|
||||
, Constants.initialHeightClickPoints
|
||||
)
|
||||
|
||||
val graphLines = GraphLines.generate initialModel
|
||||
@@ -27,7 +28,7 @@ struct
|
||||
|
||||
val dotDrawObject = AppDraw.initDot ()
|
||||
val triangleDrawObject = AppDraw.initTriangles ()
|
||||
|
||||
|
||||
val modalTextDrawObject = AppDraw.initModalText ()
|
||||
|
||||
val inputMailbox = Mailbox.mailbox ()
|
||||
|
||||
Reference in New Issue
Block a user