@@ -1187,14 +1187,14 @@ clipRect.setWidth(w); clipRect.setHeight(h); } @Override protected double computeMaxWidth(double height) { - return snapSize(content.maxWidth(height)); + return snapSizeX(content.maxWidth(height)); } @Override protected double computeMaxHeight(double width) { - return snapSize(content.maxHeight(width)); + return snapSizeY(content.maxHeight(width)); } } }