Changeset 1161 for trunk/src/org/expeditee/gio/EcosystemManager.java
- Timestamp:
- 09/27/18 16:52:32 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gio/EcosystemManager.java
r1112 r1161 3 3 import org.expeditee.core.Image; 4 4 import org.expeditee.core.TextLayout; 5 import org.expeditee.gio.gesture.ExpediteeKBMGestureTranslator; 5 6 import org.expeditee.gio.gesture.StandardGestureActions; 6 import org.expeditee.gio.gesture.ExpediteeKBMGestureTranslator;7 7 import org.expeditee.gio.input.StandardInputEventListeners; 8 8 import org.expeditee.gio.javafx.JavaFXEcosystemManager; … … 72 72 { 73 73 // Can't add nothing 74 if (iw == null) return; 74 if (iw == null) { 75 return; 76 } 75 77 76 78 // Only add the widget if it is designed for the current ecosystem 77 if (iw.isSupportedOnCurrentEcosystem()) return; 79 if (!iw.isSupportedOnCurrentEcosystem()) { 80 return; 81 } 78 82 79 83 // Add the widget to the graphics and input managers … … 86 90 { 87 91 // Can't remove nothing 88 if (iw == null) return; 92 if (iw == null) { 93 return; 94 } 89 95 90 96 // Add the widget to the graphics and input managers
Note:
See TracChangeset
for help on using the changeset viewer.