()
| 105 | } |
| 106 | |
| 107 | private void updateDisplayTop() { |
| 108 | //shift all children into position |
| 109 | float offsetDy = lastDy; |
| 110 | lastDy = getHeight() - (totalHeight + getBottomMargin()) * revealPercent; |
| 111 | float dy = lastDy - offsetDy; |
| 112 | for (FDisplayObject child : getChildren()) { |
| 113 | child.setTop(child.getTop() + dy); |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | @Override |
| 118 | public void setVisible(boolean visible0) { |
no test coverage detected