Ignore:
Timestamp:
01/28/14 22:04:27 (10 years ago)
Author:
davidb
Message:

Mouse panning action updated to take into account the status of any items that are anchored, and therefore shouldn't move

Location:
trunk/src/org/expeditee/items/widgets
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/items/widgets/InteractiveWidget.java

    r733 r774  
    17401740                            getY());
    17411741                getSource().setAnchorRight(anchor);
     1742        }
     1743
     1744        public boolean isAnchored() {
     1745                return getSource().isAnchored();
    17421746        }
    17431747       
  • trunk/src/org/expeditee/items/widgets/WidgetCorner.java

    r720 r774  
    147147        public String getLink() {
    148148                return _widgetSource.getSource().getLink();
     149        }
     150
     151        @Override
     152        public boolean isAnchored() {
     153                return _widgetSource.isAnchored();
    149154        }
    150155
  • trunk/src/org/expeditee/items/widgets/WidgetEdge.java

    r720 r774  
    120120        public void setAnchorRight(Float anchor) {
    121121                _widgetSource.setAnchorRight(anchor);
     122        }
     123
     124        @Override
     125        public boolean isAnchored() {
     126                return _widgetSource.isAnchored();
    122127        }
    123128       
Note: See TracChangeset for help on using the changeset viewer.