Closed tangzero closed 10 years ago
Thank you for the new feature! It is pointed out.
(1) This fix is breaking the cache of Deck.
function M:setSize(width, height)
local deck = DeckMgr:getImageDeck (width, height)
deck:setRect(-0.5, -0.5, 0.5, 0.5) -- Destruction of the cache
self:setDeck(deck)
self:setPivToCenter ()
end
(2) I feel there is no need to inherit from the Image class is. Those who inherit from the DisplayObject would be better.
(3) Because it is an important feature, I want to try for a while. I want you to pull request to the dev branch.
To merge. Then I modify a little.
:+1:
Request #70