Commit 5ae5a28a authored by h2b's avatar h2b

Wrong dimension fixed.

parent 2beb40ca
......@@ -220,7 +220,7 @@ object AwtScreenDriver {
private val bounds = if (env.isHeadlessInstance()) new Rectangle(0,0,0,0) else env.getMaximumWindowBounds
val screenOrigin: Pixel = Pixel(bounds.x, bounds.y)
val screenHeight: Int = bounds.height
val screenWidth: Int = bounds.height
val screenWidth: Int = bounds.width
private object Localizer {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment