Ignore:
Timestamp:
05/19/08 12:03:18 (16 years ago)
Author:
ra33
Message:

Fixed a bunch of problems with rectangles and resizing the window, as well as adding some more unit tests etc.

File:
1 edited

Legend:

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

    r58 r67  
    399399                // if its a relative link then return absolute
    400400                if (FrameIO.isPositiveInteger(link)) {
    401                         return _parent.getFramesetName() + Conversion.getFrameNumber(link);
     401                        return _parent.getFramesetName() + link;
    402402                }
    403403                return link;
     
    14571457
    14581458        public void anchor() {
    1459                 Frame current = getCurrentFrame();
     1459                Frame current = getParentOrCurrentFrame();
    14601460                setID(current.getNextItemID());
    14611461                setOffset(0, 0);
     
    14741474         * @return
    14751475         */
    1476         public Frame getCurrentFrame() {
     1476        public Frame getParentOrCurrentFrame() {
    14771477                // if the item is from an overlay the parent will NOT be null
    14781478                if (getParent() == null) {
Note: See TracChangeset for help on using the changeset viewer.