diff --git a/dotscape b/dotscape index c5fb67d..290ecdc 100755 Binary files a/dotscape and b/dotscape differ diff --git a/functional-core/app-update.sml b/functional-core/app-update.sml index da721df..3bac7e1 100644 --- a/functional-core/app-update.sml +++ b/functional-core/app-update.sml @@ -69,7 +69,11 @@ struct let val model = AppWith.windowResize (model, width, height) val triangles = Triangles.toVector model - val graphLines = GraphLines.generate model + + val graphLines = + if #showGraph model then GraphLines.generate model + else Vector.fromList [] + val drawMsg = RESIZE_TRIANGLES_BUTTONS_AND_GRAPH {triangles = triangles, graphLines = graphLines}