changeset 4947:cc0cbc9a12e1

RT-32787: Redraw issue with Accordion in SB 2
author jgiles
date Tue, 10 Sep 2013 09:46:05 +1200
parents f3dcad659452
children d208527888ed 684fa356f9b5
files modules/controls/src/main/java/com/sun/javafx/scene/control/skin/AccordionSkin.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/AccordionSkin.java	Tue Sep 10 09:06:52 2013 +1200
+++ b/modules/controls/src/main/java/com/sun/javafx/scene/control/skin/AccordionSkin.java	Tue Sep 10 09:46:05 2013 +1200
@@ -238,6 +238,9 @@
                     expandedPane = getSkinnable().getExpandedPane();
                     getSkinnable().setExpandedPane(null);
                 }
+
+                // added to resolve RT-32787
+                previousHeight = 0;
             }
         };
     }