mirror of
https://github.com/nasa/openmct.git
synced 2025-04-07 11:26:49 +00:00
[Layout] Disallow editing when not in edit mode
Disallow positioning and resizing of frames within a layout when not in Edit mode. WTD-535.
This commit is contained in:
parent
04649d6d71
commit
ffb9352da0
@ -11,7 +11,7 @@
|
||||
</mct-representation>
|
||||
</div>
|
||||
|
||||
<span class="layout-drag-handles">
|
||||
<span class="layout-drag-handles" 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)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user