• Adam Barth's avatar
    Remove clients of getTotalMatrix (#4487) · afe3158d
    Adam Barth authored
    Instead of using getTotalMatrix and setMatrix, we can just use
    save/restore, which is more idiomatic.
    
    The getTotalMatrix/setMatrix pattern was introduced to improve
    performance, but the original code was calling getTotalMatrix/setMatrix
    at every node in the sprite tree, which is much slower than the normal
    save/transform/restore pattern.
    
    Related to #4254
    afe3158d
Name
Last commit
Last update
..
src Loading commit data...
flutter_sprites.dart Loading commit data...