[Fixed Position] Initially implement handles
Initially implement handles for resizing elements in a fixed position view, WTD-882.
This commit is contained in:
@@ -24,13 +24,15 @@
|
||||
<!-- Selection highlight, handles -->
|
||||
<span ng-if="controller.selected()">
|
||||
<div class="test"
|
||||
style="position: absolute;"
|
||||
mct-drag-down="controller.startDrag(controller.selected())"
|
||||
mct-drag="controller.continueDrag(delta)"
|
||||
mct-drag-up="controller.endDrag()"
|
||||
ng-style="controller.selected().style">
|
||||
</div>
|
||||
<div ng-repeat="handle in controller.handles()"
|
||||
ng-style="handle.style"
|
||||
style="position: absolute;"
|
||||
ng-style="handle.style()"
|
||||
mct-drag-down="handle.startDrag()"
|
||||
mct-drag="handle.continueDrag(delta)"
|
||||
mct-drag-up="handle.endDrag()">
|
||||
|
||||
Reference in New Issue
Block a user