Permalink
Browse files

Korui+Korge WIN32 support

  • Loading branch information...
soywiz committed Aug 25, 2018
1 parent 1fad27c commit 84ff61a92b0b529069c469efa666fad5482b013f
@@ -102,7 +102,7 @@ allprojects {
def isKotlin = isJs || isJvm || isNative || isCommon
String projectNameWithoutSuffix = project.name[0..<project.name.lastIndexOf('-')]
if (isNative && projectNameWithoutSuffix in skipNativeBuildOnCI) {
if (isNative && System.getenv("CI") != null && projectNameWithoutSuffix in skipNativeBuildOnCI) {
println("SKIP: " + projectNameWithoutSuffix)
return
}
@@ -2,7 +2,6 @@ package com.soywiz.korui
import com.soywiz.klogger.*
import com.soywiz.korim.bitmap.*
import com.soywiz.korio.async.*
import com.soywiz.korio.lang.*
import com.soywiz.korui.event.*
import com.soywiz.korui.geom.len.*
@@ -136,7 +135,7 @@ suspend fun CanvasApplicationEx(
val frame = application.frame(title, width, height, icon) {
canvas = agCanvas().apply { focus() }
}
if (isNative) println("CanvasApplicationEx[4]")
if (isNative) println("CanvasApplicationEx[4] - canvas.waitReady()")
canvas.waitReady()
if (isNative) println("CanvasApplicationEx[5]")
callback(canvas, frame)
Oops, something went wrong.

0 comments on commit 84ff61a

Please sign in to comment.