mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Merge pull request #62 from dram/update-focus-fix
Use break to avoid uncaught exception in View.updateFocus
This commit is contained in:
commit
a76d47fcf1
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