mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1203134, autocomplete popup not positioned properly when it appears upwards, e10s only, r=felipe
This commit is contained in:
parent
588a07e482
commit
44056c0f4a
@ -98,7 +98,9 @@ this.AutoCompleteE10S = {
|
||||
this.popup.style.direction = direction;
|
||||
|
||||
this.x = rect.left;
|
||||
this.y = rect.top + rect.height;
|
||||
this.y = rect.top;
|
||||
this.width = rect.width;
|
||||
this.height = rect.height;
|
||||
},
|
||||
|
||||
_showPopup: function(results) {
|
||||
@ -125,7 +127,7 @@ this.AutoCompleteE10S = {
|
||||
this.popup.mInput = null;
|
||||
this.popup.showCommentColumn = false;
|
||||
this.popup.showImageColumn = false;
|
||||
this.popup.openPopupAtScreen(this.x, this.y, true);
|
||||
this.popup.openPopupAtScreenRect("after_start", this.x, this.y, this.width, this.height, false, false);
|
||||
} else {
|
||||
this.popup.closePopup();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user