mirror of
https://github.com/konvajs/konva.git
synced 2025-11-24 08:46:44 +08:00
As the context's translate() is additive, there is no need for the two consecutive calls of it inside _sceneFunc(): The same effect can be achieved with with just one call of translate(). A corresponding update was done in the unit test for Text that had a pair of calls to translate() in the expected call dump.