- Timestamp:
- 01/26/21 09:45:54 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gio/gesture/StandardGestureActions.java
r1532 r1548 4716 4716 * attributes, so it is not checked. 4717 4717 * 4718 * 25/01/2021: If the user has Items attached to the cursor, they are used to 4719 * specify what attributes to extract. For example, if the user has "Width:" 4720 * attached to their cursor, only the width attribute will be extracted rather 4721 * than all of them. 4722 * 4718 4723 * @param toExtract 4719 4724 * Item containing the Item to extract the attributes from. … … 4723 4728 return; 4724 4729 } 4725 4726 if (FreeItems.hasItemsAttachedToCursor()) { 4727 return; 4728 } 4729 4730 4730 4731 Item attribs; 4731 4732 Item item = toExtract; 4733 Object toExtractFrom = item.isFrameName() ? item.getParent() : item; 4734 4732 4735 // Extract the frames attributes when the user clicks on the frame name 4733 4736 FrameGraphics.changeHighlightMode(item, HighlightMode.None); 4734 4737 if (item.isFrameName()) { 4735 attribs = AttributeUtils.extractAttributes( item.getParent());4738 attribs = AttributeUtils.extractAttributes(toExtractFrom); 4736 4739 } else { 4737 attribs = AttributeUtils.extractAttributes(item); 4740 attribs = AttributeUtils.extractAttributes(toExtractFrom); 4741 } 4742 4743 if (FreeItems.hasItemsAttachedToCursor()) { 4744 return; 4738 4745 } 4739 4746
Note:
See TracChangeset
for help on using the changeset viewer.