Add ApplicationPreload mechanism to collectScreenshots
This commit is contained in:
@@ -11,11 +11,6 @@ fun main() = application {
|
||||
height = 720
|
||||
}
|
||||
program {
|
||||
if (System.getProperty("takeScreenshot") == "true") {
|
||||
extend(SingleScreenshot()) {
|
||||
this.outputFile = System.getProperty("screenshotPath")
|
||||
}
|
||||
}
|
||||
extend {
|
||||
drawer.stroke = null
|
||||
drawer.fill = ColorRGBa.PINK
|
||||
|
||||
Reference in New Issue
Block a user