コード例 #1
0
 private void restoreAndAddAnimation(Label label)
 {
     if (currentSelectedLabel != null && currentSelectedLabel != label)
     {
         ButtonAnimation.restore(currentSelectedLabel);
     }
     ButtonAnimation.addAnimation(label);
 }
コード例 #2
0
 private void restoreAnimation(Label label)
 {
     if (currentSelectedLabel == null)
     {
         ButtonAnimation.restore(label);
         return;
     }
     if (currentSelectedLabel != label)
     {
         ButtonAnimation.restore(label);
     }
 }