Changeset 928


Ignore:
Timestamp:
11/15/14 17:44:52 (10 years ago)
Author:
bln4
Message:

Altered method processChar to pass responsibility off to MagneticConstraints.keyHit if the character in question is registered by MagneticConstraints

File:
1 edited

Legend:

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

    r919 r928  
    4848import org.expeditee.items.UserAppliedPermission;
    4949import org.expeditee.items.XRayable;
     50import org.expeditee.items.MagneticConstraint.MagneticConstraints;
    5051import org.expeditee.items.widgets.InteractiveWidget;
    5152import org.expeditee.items.widgets.WidgetCorner;
     
    129130                        return;
    130131                }
     132               
     133                if(isShiftDown && MagneticConstraints.getInstance().keyHit(-ch, on)) return;
     134                else if(MagneticConstraints.getInstance().keyHit(ch, on)) return;
    131135
    132136                if (_toRemove != null && on != _toRemove) {
Note: See TracChangeset for help on using the changeset viewer.