Commit Graph

1562 Commits

Author SHA1 Message Date
zilongshanren 09c80402ba fix some bugs of shrink label
it also improve the perfomance issue of shrinked label

calculate font size divide by 2

add font height cache

keep the label lineheight the same as before
2016-07-06 17:39:21 +08:00
knoxHuang bc75b07c4b fix setClearColor code for #fireball/issues/3535 2016-07-05 18:19:58 +08:00
Jare Guo cf8922e70f refactoring loadDepends 2016-07-05 18:11:40 +08:00
Huabing.Xu 7336c7f2ba add comments for dirty region 2016-07-05 17:45:58 +08:00
Huabing.Xu 01d6e99a11 optimise region creation and releasing 2016-07-05 17:12:54 +08:00
Wang Nan c8fe562a91 Merge pull request #872 from cocos-creator/v1.1
merge V1.1
2016-07-05 16:14:05 +08:00
Huabing.Xu 26e8d7fcdb roll back scaleX scaleY 2016-07-05 15:41:08 +08:00
Huabing.Xu 176f900180 add debug dirty region variable 2016-07-05 15:22:19 +08:00
Nan Wang 90446d106c move pipeline flowin before callback to prevent circular reference of prefab when loading scene. 2016-07-05 14:15:04 +08:00
knoxHuang d06e317809 add CCSpriteFrame API and add warn log for #fireball/issues/3337 2016-07-05 10:52:01 +08:00
Wang Nan 280a89cf4f Merge pull request #869 from zilongshanren/fix-layout-redudent-calculation
Fix layout redundant calculation
2016-07-04 19:01:32 +08:00
Wang Nan 7da2dac404 Merge pull request #864 from zilongshanren/fix-system-ttf-shrink
fix Chinese label shrink effect
2016-07-04 19:00:05 +08:00
Jare Guo f3f8d56b99 Merge pull request #870 from 2youyou2/asset-loader
fixed load asset
2016-07-04 18:03:57 +08:00
2youyouo2 6222b03959 fixed load asset 2016-07-04 17:58:58 +08:00
zilongshanren 7fbd7364e5 fix child active issue in none layout 2016-07-04 15:07:42 +08:00
zilongshanren 07cb26f1fc should remove listeners when child removed 2016-07-04 15:05:42 +08:00
Huabing.Xu f0e050e5e9 disable dirty region by default and add interface for dirty region 2016-07-04 10:28:12 +08:00
Jare Guo 13cd374d52 preload scene in runtime platform 2016-07-04 10:10:08 +08:00
Huabing.Xu fc1156c254 Merge branch 'master' into optimise_canvas_rendering
# Conflicts:
#	cocos2d/clipping-nodes/CCClippingNodeCanvasRenderCmd.js
2016-07-04 09:52:14 +08:00
zilongshanren 4df512cc99 minor improve line height of shrinked text 2016-07-03 10:12:37 +08:00
Huabing.Xu 02d5950f21 remove test code 2016-07-02 16:53:01 +08:00
Huabing.Xu 929ce2e113 fix bug for transform two times in one frame 2016-07-02 16:39:57 +08:00
zilongshanren 570b41cb69 fix Chinese label shrink effect 2016-07-02 14:23:29 +08:00
Jare Guo e5d0e789c8 Merge pull request #863 from zilongshanren/fix-system-ttf-shrink
fix web system font shrink wrap effect
2016-07-01 18:38:52 +08:00
zilongshanren 11db3a89c1 minor fix
add docs for actualFontSize

remove unnedded bind call

only define debounce method in Editor
2016-07-01 18:38:12 +08:00
zilongshanren 5ad4e6fca9 fix web system font shrink wrap effect
fix label font size

add measure text height

make a skeleton of label ttf shrink algorithm

add debounce method for node string

finish no \n wrap

add debounced font size to label

finish web ttf shrink
2016-07-01 18:13:26 +08:00
Huabing.Xu ded71d1520 dirty region works on canvas 2016-07-01 16:10:24 +08:00
Nan Wang 5b4214c496 Merge branch 'v1.1' of github.com:cocos-creator/engine 2016-07-01 15:42:01 +08:00
Jare Guo 5dcff33b98 fix pack loader on JSB 2016-06-30 21:52:14 +08:00
Jare Guo f086ac14ce fix cc.clone on JSB 2016-06-30 18:29:31 +08:00
Jare Guo 857aa85c8a fix unpacking on mobile 2016-06-30 18:06:17 +08:00
Huabing.Xu 581294d09b move scaleX and scaleY to transform 2016-06-30 16:11:29 +08:00
pandamicro fd0e57ce8a Fix small issues 2016-06-30 15:18:18 +08:00
2youyouo2 1e91d80f88 refine graphics 2016-06-30 13:55:32 +08:00
Wang Nan bca1825f00 Merge pull request #855 from nantas/v1.1
change widget.alignOnce to true as default
2016-06-30 13:51:56 +08:00
Wang Nan ceb34dc14f Merge pull request #850 from 2youyou2/collision
clear debug draw when disable collision debug draw
2016-06-30 13:48:51 +08:00
Wang Nan fad4987229 Merge pull request #849 from VisualSJ/v1.1_3435
Fixed audio source rewind
2016-06-30 13:47:26 +08:00
Nan Wang e586c7c00e change widget.alignOnce to true as default 2016-06-30 11:59:14 +08:00
2youyouo2 f1051664d1 add license 2016-06-30 11:43:18 +08:00
2youyouo2 68f23b2fa3 add graphics 2016-06-30 10:48:36 +08:00
Jare Guo f12f6c06ac try to fix glitter when scene loading 2016-06-30 00:52:52 +08:00
Jare Guo ea25b55057 fix scene reloading 2016-06-30 00:25:50 +08:00
Jare Guo 787eb22039 try to fix scene error of example 2016-06-29 18:41:02 +08:00
2youyouo2 e6ae96d53e clear debug draw when disable collision debug draw 2016-06-29 17:15:11 +08:00
VisualSJ 336171daac Fixed audio source rewind 2016-06-29 16:02:14 +08:00
knoxHuang d7ac3f7fa6 fix Follow error, for #fireball/issues/3409 2016-06-29 15:30:12 +08:00
knoxHuang a94d31d5eb fix CCProfiler error 2016-06-29 14:31:15 +08:00
knoxHuang 3057984870 update CCProfiler 2016-06-29 13:54:00 +08:00
knoxHuang 89f4156891 merge html5 code for #fireball/issues/2787 2016-06-29 13:40:46 +08:00
Jare Guo 286a6206ca Merge pull request #843 from zilongshanren/remove-domnode-editbox
clean up the CCSGEditBox
2016-06-29 10:34:13 +08:00