@Override public void mouseClicked(MouseEvent e) { if (isReady() && paintColor == -1) { if (artist .getSequence() .changeCardSide( artist.getPerspectiveEditPanel(), PointUtil.descalePoint(e.getPoint(), scale), artist.getStepNum())) { setStep(getStep()); } } }
@Override public void mouseDragged(MouseEvent e) { if (paintColor != -1) { if (artist .getSequence() .changeCardSide( artist.getPerspectiveEditPanel(), PointUtil.descalePoint(e.getPoint(), scale), artist.getStepNum(), paintColor)) { setStepWithNoAnimation(getStep()); } } }