Beispiel #1
0
 public virtual void mousePressed(MouseEvent param1MouseEvent)
 {
     if (outerInstance.RecenterOnClickEnabled && (SwingUtilities.isMiddleMouseButton(param1MouseEvent) || (SwingUtilities.isLeftMouseButton(param1MouseEvent) && param1MouseEvent.ClickCount == 2)))
     {
         recenterMap(param1MouseEvent);
     }
     else
     {
         this.prev = param1MouseEvent.Point;
     }
 }