eugeneloza / decoherence

Project moved to https://gitlab.com/EugeneLoza/decoherence
GNU General Public License v3.0
10 stars 7 forks source link

isMouseOver bug #484

Open eugeneloza opened 6 years ago

eugeneloza commented 6 years ago

Fired Drag'n'drop works only when mouse.y < Next.y + Next.h /2 not when Next.y1 < Mouse.y < Next.y2 somewhere a trivial typo?

eugeneloza commented 6 years ago

Same with x coordinate.

eugeneloza commented 6 years ago

Hmm.... there is no reason for this bug to appear. Really. Every data seems consistent and conditions are correct. Strange.

eugeneloza commented 6 years ago

Wait. There is no bug in isMouseOver as it works perfectly when detecting click/drags. There is a bug "AFTER" the element has been dragged (i.e. something's wrong with Next and ResetAnimation, may be related to https://github.com/eugeneloza/decoherence/issues/487). In case the interface element is automanaged (e.g. returning to initial position) then there are no problems. So, for now I'll move it to "unimportant" however, there's certainly a bug on the loose.