Commit a8f10206 by junghwan-park

Deploy v2.2.0a

parent a5cd61ad
...@@ -620,8 +620,8 @@ define(["./raphael.core"], function(R) { ...@@ -620,8 +620,8 @@ define(["./raphael.core"], function(R) {
$(node, {x: a.x, y: a.y}); $(node, {x: a.x, y: a.y});
el._.dirty = 1; el._.dirty = 1;
var bb = el._getBBox(), var bb = el._getBBox(),
dif = a.y - (bb.y + bb.height / 2); dif = a.y - (bb.y + bb.height * 8 / 10);
dif && R.is(dif, "finite") && $(tspans[0], {dy: dif}); if (bb.height) dif && R.is(dif, "finite") && $(tspans[0], {dy: dif});
}, },
getRealNode = function (node) { getRealNode = function (node) {
if (node.parentNode && node.parentNode.tagName.toLowerCase() === "a") { if (node.parentNode && node.parentNode.tagName.toLowerCase() === "a") {
......
{ {
"name": "raphael", "name": "raphael",
"version": "2.2.0", "version": "2.2.0a",
"description": "JavaScript Vector Library", "description": "JavaScript Vector Library",
"main": "raphael.min.js", "main": "raphael.min.js",
"author": { "author": {
......
...@@ -6500,8 +6500,8 @@ return /******/ (function(modules) { // webpackBootstrap ...@@ -6500,8 +6500,8 @@ return /******/ (function(modules) { // webpackBootstrap
$(node, {x: a.x, y: a.y}); $(node, {x: a.x, y: a.y});
el._.dirty = 1; el._.dirty = 1;
var bb = el._getBBox(), var bb = el._getBBox(),
dif = a.y - (bb.y + bb.height / 2); dif = a.y - (bb.y + bb.height * 8 / 10);
dif && R.is(dif, "finite") && $(tspans[0], {dy: dif}); if (bb.height) dif && R.is(dif, "finite") && $(tspans[0], {dy: dif});
}, },
getRealNode = function (node) { getRealNode = function (node) {
if (node.parentNode && node.parentNode.tagName.toLowerCase() === "a") { if (node.parentNode && node.parentNode.tagName.toLowerCase() === "a") {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -6129,8 +6129,8 @@ return /******/ (function(modules) { // webpackBootstrap ...@@ -6129,8 +6129,8 @@ return /******/ (function(modules) { // webpackBootstrap
$(node, {x: a.x, y: a.y}); $(node, {x: a.x, y: a.y});
el._.dirty = 1; el._.dirty = 1;
var bb = el._getBBox(), var bb = el._getBBox(),
dif = a.y - (bb.y + bb.height / 2); dif = a.y - (bb.y + bb.height * 8 / 10);
dif && R.is(dif, "finite") && $(tspans[0], {dy: dif}); if (bb.height) dif && R.is(dif, "finite") && $(tspans[0], {dy: dif});
}, },
getRealNode = function (node) { getRealNode = function (node) {
if (node.parentNode && node.parentNode.tagName.toLowerCase() === "a") { if (node.parentNode && node.parentNode.tagName.toLowerCase() === "a") {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment