You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
inhibitMenuFor is found in OUIEditMenuController and is called by ancestorScrollViewWillBeginScrolling in OUIEditableFrame. Likewise, uninhibitMenuFor is called by ancestorScrollViewDidEndScrolling. The assumption this code makes is that each begin scrolling event will be balanced by an end scrolling event. However, this is not the case. Any time the direction of scrolling is changed before scrolling has finished, inhibitMenuFor will be called without a uninhibitMenuFor balancing it out. In these cases the OBASSERT will fail in inhibitMenuFor. No harm done since the inhibitions set will not add an existing object, but likely this assertion should be removed.
inhibitMenuFor
is found inOUIEditMenuController
and is called byancestorScrollViewWillBeginScrolling
inOUIEditableFrame
. Likewise,uninhibitMenuFor
is called byancestorScrollViewDidEndScrolling
. The assumption this code makes is that each begin scrolling event will be balanced by an end scrolling event. However, this is not the case. Any time the direction of scrolling is changed before scrolling has finished,inhibitMenuFor
will be called without auninhibitMenuFor
balancing it out. In these cases the OBASSERT will fail ininhibitMenuFor
. No harm done since the inhibitions set will not add an existing object, but likely this assertion should be removed.[/code]
The text was updated successfully, but these errors were encountered: