May 5, 2016 at 5:28 pm #241285
Hmm… looking back at the code, it might be up for a small revision. I suppose I used the following so it was easier to pass on
this but it probably makes more sense to use
window instead here :
this.addEventListener('mousemove', dragIt, false);
Meaning some other lines would have to be changed as well… but the overlapping issue should disappear.