Changeset 1410 for trunk/src/org/expeditee/gui
- Timestamp:
- 06/21/19 15:16:05 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/FrameGraphics.java
r1218 r1410 32 32 import org.expeditee.core.Image; 33 33 import org.expeditee.core.bounds.PolygonBounds; 34 import org.expeditee.encryption.items.surrogates.Label.LabelResult; 35 import org.expeditee.encryption.items.surrogates.Label; 36 import org.expeditee.encryption.items.surrogates.Surrogate; 34 37 import org.expeditee.gio.EcosystemManager; 35 38 import org.expeditee.gio.input.KBMInputEvent.Key; … … 454 457 if (i == null) { 455 458 return; 459 } 460 461 String encryptionLabel = i.getEncryptionLabel(); 462 if (encryptionLabel != null && encryptionLabel.length() > 0 && !i.isSurrogate()) { 463 LabelResult result = Label.resolveKey(encryptionLabel); 464 if (result != LabelResult.SuccessResolveLabelToKey) { 465 for(Surrogate s: i.getSurrogates()) { 466 PaintItem(s.getSurrogateItem()); 467 } 468 return; 469 } 456 470 } 457 471
Note:
See TracChangeset
for help on using the changeset viewer.