From a1ff923e636425b7789632a3f82d4f460c8062a6 Mon Sep 17 00:00:00 2001
From: David Benson <davidjgraph@users.noreply.github.com>
Date: Wed, 9 Oct 2019 23:08:41 +0100
Subject: [PATCH] Adds missing var

https://github.com/jgraph/drawio/issues/588
---
 src/main/webapp/shapes/bpmn/mxBpmnShape2.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/webapp/shapes/bpmn/mxBpmnShape2.js b/src/main/webapp/shapes/bpmn/mxBpmnShape2.js
index ef1e9df46..a2d0af629 100644
--- a/src/main/webapp/shapes/bpmn/mxBpmnShape2.js
+++ b/src/main/webapp/shapes/bpmn/mxBpmnShape2.js
@@ -295,7 +295,7 @@ mxBpmnShape.prototype.redrawPath = function(c, x, y, w, h, layer)
 					w = w * 0.76;
 				}
 				
-				isInverse = false;
+				var isInverse = false;
 				
 				if (s === 'star')
 				{
-- 
GitLab