I noticied that dragdrop function did not test if the destiny layer was or
not invisible. So when you dropped on a visible layer the drop wouldn´t
generate a ondrop event if the was any invisible layer over it.

the fix i propose is change:

        for (var i in this.children) {
                ch=this.children[i];
                if(ch!=s) {
                        chX=ch.getPageX();
                        chY=ch.getPageY();


to

        for (var i in this.children) {
                ch=this.children[i];
                if(ch!=s&&ch.getVisible()) {
                          ^^^^^^^^^^^^^^^
                        chX=ch.getPageX();
                        chY=ch.getPageY();


At least this worked for me.

Regards, Pedro Furlanetto.


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to