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/gui/FrameGraphics.java

    r1410 r1413  
    3232import org.expeditee.core.Image;
    3333import 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;
    3734import org.expeditee.gio.EcosystemManager;
    3835import org.expeditee.gio.input.KBMInputEvent.Key;
     
    457454                if (i == null) {
    458455                        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                         }
    470456                }
    471457
Note: See TracChangeset for help on using the changeset viewer.