[orx-axidraw] Fix use of CompositionDrawer.draw

This commit is contained in:
Edwin Jakobs
2025-09-02 10:19:24 +02:00
parent 02afa415a9
commit 48b783ae6a

View File

@@ -286,7 +286,7 @@ class Axidraw(val program: Program, paperSize: PaperSize, orientation: PaperOrie
* Use any methods and properties like contour(), segment(), fill, stroke, etc. * Use any methods and properties like contour(), segment(), fill, stroke, etc.
*/ */
fun draw(f: CompositionDrawer.() -> Unit) { fun draw(f: CompositionDrawer.() -> Unit) {
design.draw(f) design.draw(drawFunction = f)
} }
private fun runCMD(args: List<String>, hold: Boolean = true) { private fun runCMD(args: List<String>, hold: Boolean = true) {