mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1123179 - Bypass touchcaret visibility checking inside scrollable frame when touchcaret drag state is active, r=roc
--HG-- extra : rebase_source : 5370db85347a4ef93d6403e62cf385dc16a23b97
This commit is contained in:
parent
d6df65e7cb
commit
0315667a8a
@ -458,7 +458,8 @@ TouchCaret::IsDisplayable()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!nsLayoutUtils::IsRectVisibleInScrollFrames(focusFrame, focusRect)) {
|
||||
if (mState != TOUCHCARET_TOUCHDRAG_ACTIVE &&
|
||||
!nsLayoutUtils::IsRectVisibleInScrollFrames(focusFrame, focusRect)) {
|
||||
TOUCHCARET_LOG("Caret does not show in the scrollable frame!");
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user