Changeset 1161 for trunk


Ignore:
Timestamp:
09/27/18 16:52:32 (6 years ago)
Author:
bln4
Message:
 
File:
1 edited

Legend:

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

    r1112 r1161  
    33import org.expeditee.core.Image;
    44import org.expeditee.core.TextLayout;
     5import org.expeditee.gio.gesture.ExpediteeKBMGestureTranslator;
    56import org.expeditee.gio.gesture.StandardGestureActions;
    6 import org.expeditee.gio.gesture.ExpediteeKBMGestureTranslator;
    77import org.expeditee.gio.input.StandardInputEventListeners;
    88import org.expeditee.gio.javafx.JavaFXEcosystemManager;
     
    7272        {
    7373                // Can't add nothing
    74                 if (iw == null) return;
     74                if (iw == null) {
     75                        return;
     76                }
    7577               
    7678                // Only add the widget if it is designed for the current ecosystem
    77                 if (iw.isSupportedOnCurrentEcosystem()) return;
     79                if (!iw.isSupportedOnCurrentEcosystem()) {
     80                        return;
     81                }
    7882               
    7983                // Add the widget to the graphics and input managers
     
    8690        {
    8791                // Can't remove nothing
    88                 if (iw == null) return;
     92                if (iw == null) {
     93                        return;
     94                }
    8995               
    9096                // Add the widget to the graphics and input managers
Note: See TracChangeset for help on using the changeset viewer.