mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 13:48:12 +00:00
[Fixed Position] Add remove button
Add a 'remove' button when elements are selected in fixed position view, WTD-879.
This commit is contained in:
@ -77,9 +77,9 @@ define(
|
||||
}
|
||||
|
||||
// Decorate an element for display
|
||||
function makeProxyElement(element) {
|
||||
function makeProxyElement(element, index, elements) {
|
||||
var ElementProxy = ElementProxies[element.type],
|
||||
e = ElementProxy && new ElementProxy(element);
|
||||
e = ElementProxy && new ElementProxy(element, index, elements);
|
||||
|
||||
if (e) {
|
||||
// Provide a displayable position (convert from grid to px)
|
||||
|
Reference in New Issue
Block a user