mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +00:00
[Selection] Position overlays
This commit is contained in:
parent
d79392aeaa
commit
f926bd9762
@ -1,4 +1,5 @@
|
||||
define(['zepto'], function ($) {
|
||||
|
||||
function OverlayManager(bodyElement) {
|
||||
this.$body = $(bodyElement);
|
||||
}
|
||||
@ -9,8 +10,9 @@ define(['zepto'], function ($) {
|
||||
x = x || 0;
|
||||
y = y || 0;
|
||||
|
||||
$container.attr('left', x + 'px');
|
||||
$container.attr('top', y + 'px');
|
||||
$container.css('position', 'absolute');
|
||||
$container.css('left', x + 'px');
|
||||
$container.css('top', y + 'px');
|
||||
|
||||
view.show($container[0]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user