diff --git a/src/main/scala/net/kogics/kojo/lite/KojoCtx.scala b/src/main/scala/net/kogics/kojo/lite/KojoCtx.scala index f2c3d614..64dab95f 100644 --- a/src/main/scala/net/kogics/kojo/lite/KojoCtx.scala +++ b/src/main/scala/net/kogics/kojo/lite/KojoCtx.scala @@ -304,9 +304,9 @@ class KojoCtx(val subKojo: Boolean) extends core.KojoCtx { def fileOpened(file: File): Unit = { fileName = file.getName topcs.seh.fileOpened(fileName) - Utils.runAsyncQueued { - topcs.dch.clearCanvas() - } +// Utils.runAsyncQueued { +// topcs.dch.clearCanvas() +// } CloseFile.onFileOpen() } diff --git a/src/main/scala/net/kogics/kojo/lite/Versions.scala b/src/main/scala/net/kogics/kojo/lite/Versions.scala index af4d425c..c2a208dc 100644 --- a/src/main/scala/net/kogics/kojo/lite/Versions.scala +++ b/src/main/scala/net/kogics/kojo/lite/Versions.scala @@ -3,8 +3,8 @@ package net.kogics.kojo.lite object Versions { val KojoMajorVersion = "2.9" val KojoVersion = "2.9.25" - val KojoRevision = "r8" - val KojoBuildDate = "30 July 2023" + val KojoRevision = "r9" + val KojoBuildDate = "1 August 2023" val JavaVersion = { val jrv = System.getProperty("java.runtime.version") val arch = System.getProperty("os.arch") diff --git a/src/main/scala/net/kogics/kojo/lite/topc/DrawingCanvasHolder.scala b/src/main/scala/net/kogics/kojo/lite/topc/DrawingCanvasHolder.scala index 309ddc09..980c8278 100644 --- a/src/main/scala/net/kogics/kojo/lite/topc/DrawingCanvasHolder.scala +++ b/src/main/scala/net/kogics/kojo/lite/topc/DrawingCanvasHolder.scala @@ -19,6 +19,6 @@ class DrawingCanvasHolder(val dc: SpriteCanvas, ctx: KojoCtx) } def clearCanvas(): Unit = { - dc.clear() + dc.forceClear() } }