Merge pull request #1694 from QuantumCoderQC/master

Fixed issue where element is not visible
This commit is contained in:
Lubos Lenco 2020-05-13 08:45:53 +02:00 committed by GitHub
commit a5aa5a13f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ class OnCanvasElementNode extends LogicNode {
if(canvas == null) return;
if (!canvas.ready) return;
if(canvas.getElement(element) == null) return;
if(canvas.getElement(element).visible == false) return;
var mouse = iron.system.Input.getMouse();
var b = false;
switch (property0) {