d3-svg-annotation
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -527,6 +527,5 @@ (function (global, factory) { | ||
var y = -bbox.y; | ||
if (orientationTopBottom.indexOf(orientation) !== -1) { | ||
align = topBottomDynamic(align, offset.x); | ||
if (offset.y < 0 && orientation === "topBotom" || orientation === "top") { | ||
if (offset.y < 0 && orientation === "topBottom" || orientation === "top") { | ||
y -= bbox.height + padding; | ||
@@ -1265,2 +1264,3 @@ } else { | ||
var noteParams = { padding: padding, bbox: context.bbox, offset: this.annotation.offset, orientation: orientation, align: align }; | ||
console.log('draw note content', orientation, lineType, align); | ||
@@ -1267,0 +1267,0 @@ var _noteAlignment = noteAlignment(noteParams), |
@@ -526,6 +526,5 @@ import { event, select } from 'd3-selection'; | ||
var y = -bbox.y; | ||
if (orientationTopBottom.indexOf(orientation) !== -1) { | ||
align = topBottomDynamic(align, offset.x); | ||
if (offset.y < 0 && orientation === "topBotom" || orientation === "top") { | ||
if (offset.y < 0 && orientation === "topBottom" || orientation === "top") { | ||
y -= bbox.height + padding; | ||
@@ -1264,2 +1263,3 @@ } else { | ||
var noteParams = { padding: padding, bbox: context.bbox, offset: this.annotation.offset, orientation: orientation, align: align }; | ||
console.log('draw note content', orientation, lineType, align); | ||
@@ -1266,0 +1266,0 @@ var _noteAlignment = noteAlignment(noteParams), |
{ | ||
"name": "d3-svg-annotation", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "indexRollup.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
543100
8002