Skip to content

Commit

Permalink
fix(positionLine): css to make drag handle show outside containing el…
Browse files Browse the repository at this point in the history
…ement
  • Loading branch information
peichins committed Apr 24, 2017
1 parent 20a0344 commit e1317e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions src/app/annotationViewer/_positionLine.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
z-index: 1000;
top: 0;
left: 0;
overflow: hidden;

.positionLine {
border-left: solid 1px $spectrogramProgressLine;
Expand All @@ -32,4 +31,4 @@

}

}
}
4 changes: 0 additions & 4 deletions src/components/directives/drag.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ ngDragabilly.directive("draggie",
},
link: function (scope, $element, attributes/*, controller, transcludeFunction*/) {

console.log("drag's positionline scope id (startlink)", scope.options.positionLineScopeId);

var element = $element[0];
const transformProperty = typeof element.style.transform === "string" ? "transform" : "WebkitTransform";

Expand Down Expand Up @@ -75,8 +73,6 @@ ngDragabilly.directive("draggie",
};

draggie.on("dragEnd", function (event, pointer) {
console.log("drag scope id", scope.$id);
console.log("drag's positionline scope id (end drag)", scope.options.positionLineScopeId);
if (!scope.options.useLeftTop) {
reposition(draggie.element, draggie.position);
}
Expand Down

0 comments on commit e1317e1

Please sign in to comment.