mirror of
https://github.com/nasa/openmct.git
synced 2025-04-11 05:10:21 +00:00
[Fixed Position] Persist drag positions
Persist element positions after drag in fixed position view, WTD-615.
This commit is contained in:
parent
ec211a067a
commit
082b555644
@ -19,7 +19,7 @@
|
||||
{{childObject.getModel().name}}
|
||||
</div>
|
||||
<div style="position: absolute; right: 0px; top: 0px; bottom: 0px; width: 50%; overflow: hidden;">
|
||||
X{{controller.getValue(childObject.getId())}}
|
||||
{{controller.getValue(childObject.getId())}}
|
||||
</div>
|
||||
|
||||
<!-- Drag handles -->
|
||||
|
@ -95,7 +95,7 @@ define(
|
||||
ids = (model || {}).composition || [];
|
||||
|
||||
// Pull panel positions from configuration
|
||||
rawPositions = shallowCopy(configuration.panels || {}, ids);
|
||||
rawPositions = shallowCopy(configuration.elements || {}, ids);
|
||||
|
||||
// Clear prior computed positions
|
||||
positions = {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user