mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-16 09:11:02 +00:00
Animation fix
This commit is contained in:
1 parent
a46f85f60b
commit
3ec881dfb3
1 file changed
+2
+2
@@ -37,6 +37,8 @@ public class CollapseAnimation extends Animation {
|
|||||||
protected void onComplete() {
|
protected void onComplete() {
|
||||||
if(!show) {
|
if(!show) {
|
||||||
elementToAnimate.getStyle().setDisplay(Display.NONE);
|
elementToAnimate.getStyle().setDisplay(Display.NONE);
|
||||||
|
} else {
|
||||||
|
elementToAnimate.getStyle().clearHeight();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user