New issue
 Projects > js > Issues > Refactor #4581

Replace cc._pConst and cc._sizeConst to cc.p and cc.size

Refactor #4581 [Closed]
ludingping 2014-03-27 09:53 . Updated almost 11 years ago

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

ludingping 2014-03-31 08:06
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:6b2075fc995419f27317b204267f1962f122b8a2.

Atom PDF

Status:Closed
Start date:2014-03-27
Priority:Normal
Due date:
Assignee:ludingping
% Done:

100%

Category:-
Target version:v2.2.3