Merge pull request #1694 from QuantumCoderQC/master
Fixed issue where element is not visible
This commit is contained in:
commit
a5aa5a13f2
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class OnCanvasElementNode extends LogicNode {
|
||||||
if(canvas == null) return;
|
if(canvas == null) return;
|
||||||
if (!canvas.ready) return;
|
if (!canvas.ready) return;
|
||||||
if(canvas.getElement(element) == null) return;
|
if(canvas.getElement(element) == null) return;
|
||||||
|
if(canvas.getElement(element).visible == false) return;
|
||||||
var mouse = iron.system.Input.getMouse();
|
var mouse = iron.system.Input.getMouse();
|
||||||
var b = false;
|
var b = false;
|
||||||
switch (property0) {
|
switch (property0) {
|
||||||
|
|
Loading…
Reference in a new issue