mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 22:59:14 +00:00
Merge branch 'master' of https://github.com/jagenjo/litegraph.js
This commit is contained in:
@@ -7471,7 +7471,9 @@ LGraphNode.prototype.executeAction = function(action)
|
||||
* @method adjustMouseEvent
|
||||
**/
|
||||
LGraphCanvas.prototype.adjustMouseEvent = function(e) {
|
||||
|
||||
var clientX_rel = 0;
|
||||
var clientY_rel = 0;
|
||||
|
||||
if (this.canvas) {
|
||||
var b = this.canvas.getBoundingClientRect();
|
||||
clientX_rel = e.clientX - b.left;
|
||||
|
||||
Reference in New Issue
Block a user