mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-13 16:33:28 -04:00
Use break to avoid uncaught exception.
This commit is contained in:
parent
1414500f45
commit
95b3bad6dc
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ var View = this.View = Base.extend(Callback, /** @lends View# */{
|
|||
var view = View._views[i];
|
||||
if (view && view.isVisible()) {
|
||||
View._focused = tempFocus = view;
|
||||
throw Base.stop;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue