fixed bug 496
authoradam <adam@megacz.com>
Tue, 9 Mar 2004 09:21:08 +0000 (09:21 +0000)
committeradam <adam@megacz.com>
Tue, 9 Mar 2004 09:21:08 +0000 (09:21 +0000)
darcs-hash:20040309092108-5007d-5d11379370df304cc482c2bb6555b7a939a401df.gz

src/org/ibex/Box.java

index 4e8d778..04c591f 100644 (file)
@@ -573,8 +573,6 @@ public final class Box extends JSScope implements Scheduler.Task {
         case "KeyPressed":    if (!test(STOP_UPWARD_PROPAGATION) && parent != null) parent.putAndTriggerTraps(name, value);
         case "KeyReleased":   if (!test(STOP_UPWARD_PROPAGATION) && parent != null) parent.putAndTriggerTraps(name, value);
         case "Move":          if (!test(STOP_UPWARD_PROPAGATION) && parent != null) parent.putAndTriggerTraps(name, value);
-        case "Enter":         if (!test(STOP_UPWARD_PROPAGATION) && parent != null) parent.putAndTriggerTraps(name, value);
-        case "Leave":         if (!test(STOP_UPWARD_PROPAGATION) && parent != null) parent.putAndTriggerTraps(name, value);
 
         case "HScroll":       if (!test(STOP_UPWARD_PROPAGATION) && parent != null)
             parent.putAndTriggerTraps(name, N(((Number)value).floatValue() * ((float)parent.fontSize()) / ((float)fontSize())));
@@ -603,6 +601,8 @@ public final class Box extends JSScope implements Scheduler.Task {
         case "SizeChange":    return;
         case "childadded":    return;
         case "childremoved":  return;
+        case "Enter":         return;
+        case "Leave":         return;
 
         case "thisbox":       if (value == null) removeSelf();