[orx-panel] Add explicit Display import (#242)

This commit is contained in:
Vechro
2022-06-20 23:09:11 +03:00
committed by GitHub
parent 9f7a4899fa
commit eb8d3ea7a3
2 changed files with 2 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ import org.openrndr.panel.ControlManager
import org.openrndr.panel.controlManager
import org.openrndr.panel.elements.*
import org.openrndr.panel.style.*
import org.openrndr.panel.style.Display
import java.io.File
import kotlin.math.roundToInt
import kotlin.reflect.KMutableProperty1

View File

@@ -10,8 +10,8 @@ import org.openrndr.math.mod_
import org.openrndr.panel.elements.*
import org.openrndr.panel.layout.Layouter
import org.openrndr.panel.style.*
import org.openrndr.panel.style.Display
import org.openrndr.shape.Rectangle
import org.openrndr.shape.intersects
//class SurfaceCache(val width: Int, val height: Int, val contentScale:Double) {
// val cache = renderTarget(width, height, contentScale) {