mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1114853 - Part 3: Reset mSelectionVisibleInScrollFrames when visibility set to false. r=roc
This commit is contained in:
parent
e31d727e5a
commit
68d1a81af7
@ -294,6 +294,10 @@ SelectionCarets::SetVisibility(bool aVisible)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!aVisible) {
|
||||||
|
mSelectionVisibleInScrollFrames = false;
|
||||||
|
}
|
||||||
|
|
||||||
mVisible = aVisible;
|
mVisible = aVisible;
|
||||||
SELECTIONCARETS_LOG("Set visibility %s", (mVisible ? "shown" : "hidden"));
|
SELECTIONCARETS_LOG("Set visibility %s", (mVisible ? "shown" : "hidden"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user