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