Fixed urlbar hiding when entering on a composition state

This commit is contained in:
mr. M
2025-02-10 20:12:00 +01:00
parent 0e8646d592
commit d457e6fc76
4 changed files with 22 additions and 25 deletions

View File

@@ -173,7 +173,7 @@ var gZenUIManager = {
} else {
this._lastSearch = gURLBar._untrimmedValue;
}
gURLBar.setURI(this._prevUrlbarLabel, false, false, false, true);
gURLBar.setURI(this._prevUrlbarLabel, onSwitch, false, false, !onSwitch);
gURLBar.handleRevert();
if (gURLBar.focused) {
gURLBar.view.close({ elementPicked: onSwitch });