~boginw/tapaal/multiplayer

« back to all changes in this revision

Viewing changes to src/pipe/gui/handler/AnnotationNoteHandler.java

  • Committer: Bogi Napoleon Wennerstrøm
  • Date: 2020-04-08 13:12:38 UTC
  • mfrom: (998.2.361 testbranch)
  • Revision ID: bogi.wennerstrom@gmail.com-20200408131238-6daa9ocph3zgx1ag
merged ~yrke changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 */
6
6
package pipe.gui.handler;
7
7
 
8
 
import java.awt.Container;
9
8
import java.awt.event.MouseEvent;
10
9
import javax.swing.JMenuItem;
11
10
import javax.swing.JPopupMenu;
63
62
 
64
63
        @Override
65
64
        public void mouseClicked(MouseEvent e) {
66
 
                if(CreateGui.getApp().getGUIMode().equals(GUIMode.animation)) return;
 
65
                if(CreateGui.getCurrentTab().isInAnimationMode()) return;
67
66
                
68
67
                if ((e.getComponent() == myObject || !e.getComponent().isEnabled())
69
68
                                && (SwingUtilities.isLeftMouseButton(e))) {