Ignore:
Timestamp:
06/25/19 13:57:37 (5 years ago)
Author:
bln4
Message:

Changed surrogates to work the way discussed with David. EncryptedExpReader/Writer updated to work with this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gio/gesture/StandardGestureActions.java

    r1406 r1413  
    123123                TOGGLE_ITEMS_MARK, // Show/hide the little circle indicating the item has a link and/or action
    124124                TOGGLE_XRAY_MODE, // F10
     125                TOGGLE_SURROGATE_MODE, // Shift + F10
    125126                UNDO,
    126127                ZOOM
     
    965966                        }
    966967                });
     968               
     969                setGestureAction(gestureType(StandardGestureType.TOGGLE_SURROGATE_MODE), new GestureAction() {
     970                        @Override
     971                        public void exec(Gesture gesture) {
     972                                if (((UndoGestureData) gesture.getData()).getRedo()) {
     973                                        DisplayController.ResetSurrogateMode();
     974                                } else {
     975                                        DisplayController.ToggleSurrogateMode();
     976                                }
     977                        }
     978                });
    967979
    968980        }
Note: See TracChangeset for help on using the changeset viewer.