changeset 11050:617c8cf366c7

8209969: fix width/height mixed bug in Monocle Reviewed-by: kcr
author jvos
date Mon, 03 Sep 2018 17:57:14 +0200
parents 30c0d3317713
children 4e93d92836d6
files modules/javafx.graphics/src/main/java/com/sun/glass/ui/monocle/MonocleWindow.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/javafx.graphics/src/main/java/com/sun/glass/ui/monocle/MonocleWindow.java	Fri Aug 31 04:53:24 2018 -0700
+++ b/modules/javafx.graphics/src/main/java/com/sun/glass/ui/monocle/MonocleWindow.java	Mon Sep 03 17:57:14 2018 +0200
@@ -112,7 +112,7 @@
         if (h > 0) {
             //window height surpass window content height(ch)
             height = h;
-        } else if (cw > 0) {
+        } else if (ch > 0) {
             //content height changed
             height = ch;
         } else {