Skip to content

Commit d082927

Browse files
author
tamat
committed
Merge branch 'master' of https://github.com/jagenjo/litegraph.js
2 parents fc7045d + 894f590 commit d082927

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/litegraph.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7471,7 +7471,9 @@ LGraphNode.prototype.executeAction = function(action)
74717471
* @method adjustMouseEvent
74727472
**/
74737473
LGraphCanvas.prototype.adjustMouseEvent = function(e) {
7474-
7474+
var clientX_rel = 0;
7475+
var clientY_rel = 0;
7476+
74757477
if (this.canvas) {
74767478
var b = this.canvas.getBoundingClientRect();
74777479
clientX_rel = e.clientX - b.left;

0 commit comments

Comments
 (0)