From c797f1e1fe1f5b2f73c72ab730457e375e64a903 Mon Sep 17 00:00:00 2001 From: BeezyT Date: Mon, 8 Oct 2012 08:49:38 +0000 Subject: refs #3332: edges on the sides are a bit straighter git-svn-id: http://dev.piwik.org/svn/trunk@7128 59fd770c-687e-43c8-a1e3-f5a4ff64c105 --- plugins/Transitions/templates/transitions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Transitions') diff --git a/plugins/Transitions/templates/transitions.js b/plugins/Transitions/templates/transitions.js index 0f779a51d0..f28b16dbb3 100644 --- a/plugins/Transitions/templates/transitions.js +++ b/plugins/Transitions/templates/transitions.js @@ -952,7 +952,7 @@ Piwik_Transitions_Canvas.prototype.renderLeftBoxBg = function(context, boxHeight context.bezierCurveTo(cp1Lower.x, cp1Lower.y, cp2Lower.x, cp2Lower.y, leftLower.x, leftLower.y); // the box - context.lineTo(leftLower.x - this.boxWidth + 4, leftLower.y); + context.lineTo(leftLower.x - this.boxWidth + 2, leftLower.y); context.lineTo(leftLower.x - this.boxWidth, leftUpper.y); context.lineTo(leftUpper.x, leftUpper.y); context.fill(); @@ -978,7 +978,7 @@ Piwik_Transitions_Canvas.prototype.renderRightBoxBg = function(context, boxHeigh // the box context.lineTo(rightUpper.x + this.boxWidth, rightUpper.y); - context.lineTo(rightLower.x + this.boxWidth - 4, rightLower.y); + context.lineTo(rightLower.x + this.boxWidth - 2, rightLower.y); context.lineTo(rightLower.x, rightLower.y); // the flow part 2 -- cgit v1.2.3