diff --git a/src/main/java/cit/PureATN/MultiNote/MultiNote.java b/src/main/java/cit/PureATN/MultiNote/MultiNote.java index eb00840..2037df9 100644 --- a/src/main/java/cit/PureATN/MultiNote/MultiNote.java +++ b/src/main/java/cit/PureATN/MultiNote/MultiNote.java @@ -327,17 +327,27 @@ } public void zoomToUpper() { + // PTransformActivity ta = null; + // for (int i = 1; i < 11; i++) { + // ta = shitajikiNodes[i].animateToPositionScaleRotation(0, 0, 1, rotation, 1000); + // } PTransformActivity ta2 = getCanvas().getCamera().animateViewToCenterBounds( // getCanvas().getLayer().getFullBounds(), - new PBounds(0, 0, width, height / 2), + new PBounds(0, 0, width, height *4/ 7), true, 1000); + // ta2.startAfter(ta); } public void zoomToLower() { + // PTransformActivity ta = null; + // for (int i = 1; i < 11; i++) { + // ta = shitajikiNodes[i].animateToPositionScaleRotation(0, height/2, 1, rotation, 1000); + // } PTransformActivity ta2 = getCanvas().getCamera().animateViewToCenterBounds( // getCanvas().getLayer().getFullBounds(), - new PBounds(0, height/2, width, height ), + new PBounds(0, height*3 / 7, width, height*4/7), true, 1000); + // ta2.startAfter(ta); } }