Page MenuHomePhabricator

evas canvas: fix not to trigger unnecessary events.

Authored by Hermet on Jul 24 2018, 2:54 AM.



Here comparision is logically wrong because it compares
the coordinates(cur, prev) of the different spaces.

As you can see just above the conditions,
Cur coordinates could be transformed into the map space (if objs have)
on the otherhands, prev is not. These wrong condition could occur
embarassing event trigger.


Diff Detail

rEFL core/efl
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
Hermet created this revision.Jul 24 2018, 2:54 AM

It seems that this patch has no reviewers specified. If you are unsure who can review your patch, please check this wiki page and see if anyone can be added:

Hermet requested review of this revision.Jul 24 2018, 2:54 AM
zmike accepted this revision.Jul 24 2018, 9:04 AM

whoaaa this is a good catch!

This revision is now accepted and ready to land.Jul 24 2018, 9:04 AM
This revision was automatically updated to reflect the committed changes.