Add ApplicationPreload mechanism to collectScreenshots
This commit is contained in:
@@ -6,12 +6,6 @@ import kotlin.math.cos
|
||||
|
||||
fun main() = application {
|
||||
program {
|
||||
// -- this block is for automation purposes only
|
||||
if (System.getProperty("takeScreenshot") == "true") {
|
||||
extend(SingleScreenshot()) {
|
||||
this.outputFile = System.getProperty("screenshotPath")
|
||||
}
|
||||
}
|
||||
extend {
|
||||
drawer.fill = ColorRGBa.WHITE
|
||||
drawer.stroke = ColorRGBa.PINK
|
||||
|
||||
Reference in New Issue
Block a user