Replace cc._pConst and cc._sizeConst to cc.p and cc.size
Replace cc._pConst and cc._sizeConst to cc.p and cc.size
Refactor #4581 [Closed]
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset commit:6b2075fc995419f27317b204267f1962f122b8a2.
Status: | Closed | |
---|---|---|
Start date: | 2014-03-27 | |
Priority: | Normal | |
Due date: | ||
Assignee: | ||
% Done: | 100% |
|
Category: | - | |
Target version: | v2.2.3 |
when v2.2.1 to v2.2.2, we Replaced cc.p and cc.size to cc._pConst and cc._sizeConst, because it can be given our better performance.
But some developers feel very conflict when they want to change return value of getPosition, getContentSize etc.
pConst and sizeConst aren't very friendly, so we correct this design mistake in v2.2.3.
I'm so sorry to do that.
David