Changeset 876 for trunk/src/org/expeditee/items/widgets
- Timestamp:
- 02/10/14 16:02:59 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/widgets/InteractiveWidget.java
r866 r876 866 866 867 867 if (_anchorLeft != null) { 868 sb.append(" - anchorLeft " + Math.round(_anchorLeft));868 sb.append(" --anchorLeft " + Math.round(_anchorLeft)); 869 869 } 870 870 if (_anchorRight != null) { 871 sb.append(" - anchorRight " + Math.round(_anchorRight));871 sb.append(" --anchorRight " + Math.round(_anchorRight)); 872 872 } 873 873 874 874 if (_anchorTop != null) { 875 sb.append(" - anchorTop " + Math.round(_anchorTop));875 sb.append(" --anchorTop " + Math.round(_anchorTop)); 876 876 } 877 877 878 878 if (_anchorBottom != null) { 879 sb.append(" - anchorBottom " + Math.round(_anchorBottom));879 sb.append(" --anchorBottom " + Math.round(_anchorBottom)); 880 880 } 881 881 … … 2001 2001 } 2002 2002 2003 // Move X-rayable item sas well2004 get Source().setAnchorLeft(anchor);2003 // Move X-rayable item as well 2004 getCurrentRepresentation().setAnchorLeft(anchor); 2005 2005 } 2006 2006 … … 2018 2018 if (_anchorLeft == null) { 2019 2019 // Prefer having the X-rayable item at anchorLeft position (if defined) over moving to anchorRight 2020 get Source().setAnchorRight(anchor);2020 getCurrentRepresentation().setAnchorRight(anchor); 2021 2021 } 2022 2022 } … … 2033 2033 } 2034 2034 2035 // Move X-rayable item sas well2036 get Source().setAnchorTop(anchor);2035 // Move X-rayable item as well 2036 getCurrentRepresentation().setAnchorTop(anchor); 2037 2037 } 2038 2038 … … 2050 2050 if (_anchorTop == null) { 2051 2051 // Prefer having the X-rayable item at anchorTop position (if defined) over moving to anchorBottom 2052 getSource().setAnchorBottom(anchor);2052 getCurrentRepresentation().setAnchorBottom(anchor); 2053 2053 } 2054 2054 }
Note:
See TracChangeset
for help on using the changeset viewer.