mirror of
https://github.com/nasa/openmct.git
synced 2025-04-07 11:26:49 +00:00
[Layout] Fix view switcher in frame
Recognize choice from the view switcher in a frame in a Layout and display that chosen view. WTD-535.
This commit is contained in:
parent
f61eb143e7
commit
b50f40f399
@ -13,7 +13,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="abs object-holder">
|
||||
<mct-representation key="switcher.key"
|
||||
<mct-representation key="representation.selected.key"
|
||||
mct-object="domainObject">
|
||||
</mct-representation>
|
||||
</div>
|
||||
|
@ -11,7 +11,8 @@
|
||||
</mct-representation>
|
||||
</div>
|
||||
|
||||
<span class="layout-drag-handles" ng-show="domainObject.hasCapability('editor')">
|
||||
<!-- Drag handles -->
|
||||
<span ng-show="domainObject.hasCapability('editor')">
|
||||
<span style="position: absolute; left: 12px; right: 12px; top: 12px; bottom: 12px; cursor: move;"
|
||||
mct-drag-down="controller.startDrag(childObject.getId(), [1,1], [0,0])"
|
||||
mct-drag="controller.continueDrag(delta)"
|
||||
@ -60,8 +61,6 @@
|
||||
mct-drag="controller.continueDrag(delta)"
|
||||
mct-drag-up="controller.endDrag()">
|
||||
</span>
|
||||
|
||||
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user