Ignore:
Timestamp:
11/19/08 10:07:46 (16 years ago)
Author:
ra33
Message:

Fixed bug causing SIMPLE program run from an overlay to backup to that frame instead of the frame that was the current
Synchronized messageBay class...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/actions/Simple.java

    r408 r409  
    329329                try {
    330330                        if (current != null) {
    331                                 DisplayIO.addToBack(current.getParent());
     331                                /*
     332                                 * Changed the code from the line below because it caused
     333                                 * problems when the "RunFrame" item was on the zero frame
     334                                 */
     335                                // DisplayIO.addToBack(current.getParent());
     336                                DisplayIO.addToBack(DisplayIO.getCurrentFrame());
    332337                        } else {
    333                                 /*TODO we should not have to pass an item just to run a frame!*/
     338                                /* TODO we should not have to pass an item just to run a frame! */
    334339                                current = new Text("Dummy");
    335340                                current.setLink(frame.getName());
     
    24562461                        pause(context.getPrimitives().getDoubleValue(lengthVar));
    24572462                } else if (tokens[0].equals("waitforagent")) {
    2458                         while(DefaultAgent.isAgentRunning()){
     2463                        while (DefaultAgent.isAgentRunning()) {
    24592464                                Thread.sleep(100);
    24602465                        }
    2461                 }else if (tokens[0].equals("glidecursorto")) {
     2466                } else if (tokens[0].equals("glidecursorto")) {
    24622467                        assertMinParametreCount(tokens, 2);
    24632468                        int finalX = (int) context.getPrimitives().getIntegerValue(
Note: See TracChangeset for help on using the changeset viewer.