Commit Graph

1089 Commits

Author SHA1 Message Date
pandamicro dae88faa97 Remove Sprite useless properties 2017-10-26 11:09:40 +02:00
pandamicro d67cc47491 Fix SlicedModel rendering issue 2017-10-19 22:09:19 +02:00
pandamicro b7d5abe71a Revert changing _contentSize from size to vec2 2017-10-19 22:09:03 +02:00
pandamicro cca4a44940 Fix issues so it won't crash editor 2017-10-15 17:35:32 +02:00
pandamicro 2c26976c07 Temporary fix for sprite enable and canvas size provider 2017-10-15 08:38:57 +02:00
pandamicro 510d57ab1d Fix texture update issues 2017-10-14 08:52:48 +02:00
pandamicro 1328899442 Add matrix calculations into Node 2017-10-12 16:25:33 +08:00
pandamicro c230061dcc Refactor trs properties in Node with vmath 2017-10-12 16:23:04 +08:00
pandamicro fd5c46152f Skip functionalities in Label 2017-10-11 13:50:37 +08:00
pandamicro 6790063756 Fix MaterialUtil usage 2017-10-11 13:48:18 +08:00
pandamicro 12e1c50c13 Move State API from Scale9Sprite to Sprite component 2017-10-11 13:46:23 +08:00
pandamicro a3a9d4c4c9 Add Sprite models to scene 2017-10-10 18:03:27 +08:00
pandamicro 048bcaeff9 Refactor Sprite Component to support model and materials 2017-10-10 16:17:45 +08:00
pandamicro 00ca0827aa Material usage in SpriteComponent 2017-10-10 11:56:46 +08:00
pandamicro b8d901a06b Refactor Sprite component 2017-10-08 12:41:24 +08:00
pandamicro 48faf3ca49 Removed SGComponent, ComponentInSG, ComponentUnderSG 2017-10-06 17:54:34 +08:00
Jare Guo e1601ac00f Merge 1.6
# Conflicts:
#	cocos2d/core/CCDirector.js
#	cocos2d/core/components/CCSprite.js
2017-09-22 10:48:01 +08:00
knoxHuang 320d5d5915 fix webview event error for fireball/issues/6328 2017-09-21 16:51:43 +08:00
knoxHuang a057191a98 add handleTouchEvent to CCRichText for fireball/issues/6369 2017-09-15 14:27:09 +08:00
Jare Guo 65146cc302 can not set content size of RichText by using public function… 2017-09-14 16:13:25 +08:00
knoxHuang 4ae6edd5b2 update Layout api 2017-09-14 13:38:37 +08:00
feijing566 4f6227481c merged event auto-scroll-ended and scroll-ended 2017-09-14 11:52:28 +08:00
feijing566 ceed6d9888 add new event describe 2017-09-13 15:58:26 +08:00
feijing566 45d15b4dfc fix misstake 2017-09-13 15:46:06 +08:00
feijing566 8df33ef110 Add began and ended event to CCScrollview
sync from https://github.com/cocos2d/cocos2d-x/pull/18054
2017-09-13 15:22:41 +08:00
Jare Guo 87c749dd90 fix empty node size when attached with a camera 2017-09-11 11:58:03 +08:00
Jare Guo 1c2fd007fb remove cc.DrawNode from core module 2017-09-10 23:09:34 +08:00
Jare Guo 4220d4b142 should not emit ‘size-changed’ directly 2017-09-02 21:45:56 +08:00
Jare Guo c929b44e8b should not create component if conflict with canvas 2017-09-01 15:30:32 +08:00
2youyouo2 a6b42859fc refine code 2017-08-29 18:08:07 +08:00
2youyouo2 6bc0ff1cae should ignore animation playOnLoad if already play an animation 2017-08-29 17:58:07 +08:00
Wang Nan a41856dd41 Merge pull request #1937 from cocos-creator/v1.6
merge V1.6
2017-08-28 10:56:58 +08:00
knoxHuang af627d3bd1 add Layout and Widget warn for fireball/issues/6308 2017-08-25 13:52:21 +08:00
knoxHuang c4c2a7b569 refine api 2017-08-25 11:11:23 +08:00
knoxHuang 840c9f4b11 add _updateLayout API for CCLayout 2017-08-25 10:54:09 +08:00
Jare Guo 78b7a0d149 optimize deserialize 2017-08-24 13:00:53 +08:00
Jare Guo 3055157fb7 Sync 1.6
# Conflicts:
#	cocos2d/core/platform/js.js
2017-08-24 11:56:36 +08:00
knoxHuang 0c093a8c3f The webView event will not respond under CC_EDTIOR for fireball/issues/6299 2017-08-23 16:10:08 +08:00
Jare Guo 29d2d504d1 Merge pull request #1914 from pandamicro/v1.6
Fix JSB_EditboxDelegate crash if js delegate has already been garbage collected
2017-08-18 16:32:53 +08:00
pandamicro e940eb948a Fix JSB_EditboxDelegate crash if js delegate has already been garbage collected 2017-08-18 16:25:50 +08:00
Jare Guo c690efe26c Sync 1.6 2017-08-18 10:06:20 +08:00
knoxHuang e90ba4313f Modify the _updateNodeSize timing for fireball/issues/6263 2017-08-17 17:32:11 +08:00
Wang Nan 9c2a472ee6 Merge pull request #1908 from knoxHuang/Fix_Label
Failed to refresh the size in time for fireball/issues/6263
2017-08-17 15:10:03 +08:00
Jare Guo ceff905f17 Merge pull request #1904 from RazgrizHsu/NewFeature
Extend the RichText <img> tag's attributes to support height and width
2017-08-17 14:24:58 +08:00
knoxHuang 565c42ff7f remove redundant code 2017-08-17 14:19:57 +08:00
RazgrizHsu cdc564a536 according to the discussion
- correct wrong word of Width
- include case when image height less then lineHeight
- promote image attribute regex to global cache in file
2017-08-17 12:23:55 +08:00
knoxHuang 53cead8fdb Failed to refresh the size in time for fireball/issues/6263 2017-08-16 18:28:34 +08:00
knoxHuang 7ce5abe2a7 add setJavascriptInterfaceScheme and setOnJSCallback to webview for fireball/issues/6251 2017-08-16 17:36:22 +08:00
RazgrizHsu 6fd37c87d2 Extend the RichText <img> tag's attributes to support height and width
follow the original principle: the image line height must not exceed the RichText line height
2017-08-16 10:14:29 +08:00
knoxHuang 76b8ae027a adjustment CCLayout code fix fireball/issues/6218 2017-08-08 16:54:57 +08:00