Remove unnecessary uses of "takeScreenshot" (#349)

This commit is contained in:
Abe Pazos
2024-09-02 12:15:44 +02:00
committed by GitHub
parent 141d1fa789
commit f713ca3a3d
25 changed files with 34 additions and 141 deletions

View File

@@ -12,13 +12,6 @@ import org.openrndr.shape.Circle
*/
fun main() = application {
program {
// -- this block is for automation purposes only
if (System.getProperty("takeScreenshot") == "true") {
extend(SingleScreenshot()) {
this.outputFile = System.getProperty("screenshotPath")
}
}
val gui = GUI(GUIAppearance(baseColor = ColorRGBa.GRAY.opacify(0.9), barWidth = 400))
gui.compartmentsCollapsedByDefault = false