[SSE] Fix position of statusbar context menu
This commit is contained in:
parent
f144a76e1a
commit
96cee56f3e
|
@ -909,7 +909,9 @@ define([
|
||||||
|
|
||||||
onCustomizeStatusBarAfterShow: function (obj) {
|
onCustomizeStatusBarAfterShow: function (obj) {
|
||||||
if (obj.atposition) {
|
if (obj.atposition) {
|
||||||
obj.setOffset(obj.atposition.left);
|
var statusHeight = $(this.el).height(),
|
||||||
|
offsetTop = !this.isCompact && (obj.atposition.top - $(this.el).offset().top > statusHeight/2) ? statusHeight/2 : 0;
|
||||||
|
obj.setOffset(obj.atposition.left, offsetTop);
|
||||||
}
|
}
|
||||||
this.enableKeyEvents = true;
|
this.enableKeyEvents = true;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue