Flutter-Bounty-Hunters / follow_the_leader

MIT License
13 stars 5 forks source link

Fix Leader scale work #23

Closed matthew-carroll closed 1 year ago

matthew-carroll commented 1 year ago

I just merged an implementation for link.getOffsetInLeader() that I thought worked because it had some stale code in the running app. It turns out that link.leaderSize is the un-scaled size of the Leader. Therefore, we need to adjust the above method to apply the current scale.