Page MenuHomePhabricator

evas canvas: fix not to trigger unnecessary events.
ClosedPublic

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

Details

Summary

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.

@fix

Diff Detail

Repository
rEFL core/efl
Branch
devs/hermet/bugfix
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 7016
Build 6878: arc lint + arc unit
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: https://phab.enlightenment.org/w/maintainers_reviewers/

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.