Changeset 174


Ignore:
Timestamp:
07/30/08 13:38:22 (16 years ago)
Author:
bjn8
Message:

Dissallowed widget edges from breaking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/FrameMouseActions.java

    r172 r174  
    932932                                return;
    933933                        }
     934                       
     935                        if (on instanceof WidgetEdge) {
     936                                // Dont allow the user to break widget edges.
     937                                // Note: had to return here because random dots would
     938                                // appear otherwise... cannot understand code below
     939                                // with create line.
     940                                return;
     941                        }
    934942
    935943                        // if its on a line then split the line and put a point on it and
    936                         // pick that point up
     944                        // pick that point up. Only if it is not a widget line
    937945                        if (on instanceof Line && on.hasPermission(Permission.full)) {
    938946                                Frame current = DisplayIO.getCurrentFrame();
Note: See TracChangeset for help on using the changeset viewer.