Commit Graph

570 Commits

Author SHA1 Message Date
zilongshanren c7d589289f refactor EditBox, fix double click issue on mobile
finish first version of refactoring

remove dom node working now.

remove previous comments

add webgl render

fix editbox running

improve editbox

fix PC editbox
2016-06-28 18:25:37 +08:00
zilongshanren 7d2a9985e4 reuse _onTouchCancel logic 2016-06-24 14:59:17 +08:00
zilongshanren a6ebe3ce5f fix button state error when scroll in scrollview 2016-06-24 14:36:21 +08:00
zilongshanren 3b9d875014 fix bmfont and ttf shrink in editor
fix bmfont vertical clamp precision

fix a bunch of label issues

fix bmfont inital font metrics
2016-06-17 16:32:02 +08:00
zilongshanren 91ded17834 add _previousNormalSprite to ctor 2016-06-16 17:13:15 +08:00
zilongshanren 64144568a3 fix toggle button interactable in editor 2016-06-16 17:04:19 +08:00
zilongshanren 134c3d8679 add docs to VideoPlayer component 2016-06-15 11:46:29 +08:00
zilongshanren ae42b8950b refactor private method of videoPlayer component 2016-06-15 11:22:58 +08:00
knoxHuang 89ab77b91a fix CCLabel TextAlignment API 2016-06-14 17:00:06 +08:00
Jare Guo 842a68ea83 fix scale of skeleton is readonly after upgrading from old version 2016-06-12 14:33:12 +08:00
zilongshanren 303cd014c3 remove unused logic 2016-06-08 17:32:56 +08:00
Nan Wang e05160ac22 fixed node not clickable in scrollview 2016-06-08 16:09:40 +08:00
Wang Nan a9983c470f Merge pull request #779 from pandamicro/master
add capture phase and refactor button and scrollview
2016-06-08 15:45:39 +08:00
pandamicro c3e28939ca Merge pull request #774 from jareguo/v1.1
fix error when deactivating detached RendererInSG
2016-06-08 10:49:40 +08:00
knoxHuang 39ca441ca3 add CCAudioSource isPlaying api 2016-06-08 10:35:11 +08:00
Jare Guo 34888547a5 fix error when deactivating detached RendererInSG 2016-06-07 17:41:39 +08:00
Wang Nan 144b6f398e Merge pull request #770 from zilongshanren/fix-scrollview-scrollto-api
Fix scrollview scrollto api
2016-06-07 09:25:31 +08:00
Jare Guo 05e88726aa Merge pull request #771 from zilongshanren/fixLabelResizeHeight
Fix label resize height
2016-06-06 18:41:46 +08:00
zilongshanren 998cdb1dc8 only set line height when label is bmfont 2016-06-06 18:37:19 +08:00
zilongshanren 6098e801cd fix label resize height issue 2016-06-06 17:10:00 +08:00
Jare Guo 4aef0964b8 Merge pull request #768 from 2youyouo2/resize
register window-resize in jsb
2016-06-06 17:05:29 +08:00
2youyouo2 924225fcaa optimize canvas resize 2016-06-06 16:40:26 +08:00
zilongshanren 8c2e92b009 add bmfont layout 2016-06-06 16:34:22 +08:00
2youyouo2 2c85cdddef register window-resize in jsb 2016-06-06 15:38:40 +08:00
zilongshanren 1befbf572e improve none layout anchor and size precision 2016-06-06 14:55:39 +08:00
zilongshanren de1b8d0a5e fix scrollview scrollToOffset 2016-06-06 14:34:23 +08:00
Jare Guo 3a660d7aab fix label color can not changed before update phase 2016-06-03 14:12:36 +08:00
knoxHuang c555d045ba fix start multiple runs #fireball/issues/3258 2016-06-02 17:52:32 +08:00
pandamicro 272ac66762 Remove preventDefault in event 2016-06-02 15:33:01 +08:00
Wang Nan 97f707e781 Merge pull request #760 from dabingnn/fix_label_bugs
Fix label bugs
2016-06-02 15:19:59 +08:00
Huabing.Xu ab26de3c4d fix label bugs 1. outline sharp edge 2. margin for outline 2016-06-02 09:57:20 +08:00
Nan Wang 5de39df14e update scrollview with scrollToOffSet api 2016-05-31 17:16:19 +08:00
zilongshanren 341633201f improve docs 2016-05-31 10:29:46 +08:00
zilongshanren 0118566038 add API docs 2016-05-31 09:46:04 +08:00
zilongshanren 97f7d95074 add scroll to fixed position API 2016-05-30 21:28:55 +08:00
pandamicro 3064e05aa7 Add capturing phase in event system and refactor CCScrollView & CCButton 2016-05-30 10:40:21 +08:00
Jare Guo af08d1139e support negative scaling widget 2016-05-27 15:46:02 +08:00
Wang Nan 84da728e43 Merge pull request #734 from dabingnn/fix_spriteDistortion_JSB
fix sprite distortion JSB
2016-05-27 10:57:04 +08:00
Wang Nan c3981c87bc Merge pull request #738 from jareguo/temp
spine should be visible after adding to existing node.
2016-05-27 09:39:18 +08:00
Jare Guo 98580b1a28 spine should be visible after adding to existing node. 2016-05-26 21:25:56 +08:00
Jare Guo 1e047fc1ef should support nil component during preload 2016-05-26 18:47:40 +08:00
Huabing.Xu 18d099731f use functions to make scale9sprite JSB happy 2016-05-26 18:37:31 +08:00
zilongshanren 7d21576102 fix a minor bug of scrollview event 2016-05-25 17:14:48 +08:00
zilongshanren 04b4ba3d25 Add scrollview event api (#729)
* add scrollview event type

* make scroll event working

* add bounce event

* improve code
2016-05-25 17:03:32 +08:00
knoxHuang bb8d872a89 fix api error 2016-05-25 11:18:33 +08:00
knoxHuang 4c70dd29bb fix CCComponentEventHandler API error 2016-05-25 11:16:57 +08:00
Jare Guo 335ece5eb4 sizeProvider should also be restored 2016-05-24 13:50:07 +08:00
Jare Guo 275bca8fa0 Merge pull request #717 from zilongshanren/fix-layout-resizecontainer-disable
fix layout resize container mode issue
2016-05-23 17:32:55 +08:00
zilongshanren 2829898ed7 fix layout resize container mode issue
1. when disable some child node, the base width/height is not updated.
2016-05-23 17:25:26 +08:00
Wang Nan 0c1513dd99 Merge pull request #716 from 2youyouo2/anim
Anim
2016-05-23 16:12:47 +08:00