大约有 16 项符合查询结果, 库内数据总量为 14,848 项。 (搜索耗时: 0.0057 秒)
按钮属性disabled mouseEnabled bug 一开始在页面类构造函数把按钮gray设置为true,mouseEnabled设置为false ,设置一个定时器把按钮gray设置为false,mouseEnabled设置为true 页面上显灰恢复,断点也走到btn.mouseEnabled = true 但是按钮没有接受点...
来源: Laya_社区 发布时间: 20171019
button的disable = true设置,帧数瞬间下降问题 自己测试了一下:在Pc上,创建30个Button然后同时将Button的disable = true; 帧数瞬间下降13-17帧。 感觉很恐怖啊,如果我有6个Button,那么就会下降3帧左右。关键这是电脑上测试的情况,手...
来源: Laya_社区 发布时间: 20171102
[LayaAir3]3.3正式版在代码中对继承自UIComponent的UI组件设置disabled属性为报错 3.3正式版在代码中对继承自UIComponent的UI组件设置disabled属性为true后,再触发条件设置为false就会报错。 报错信息为: WebGLRenderContext2D.js:137 Uncaught TypeError...
来源: Laya_社区 发布时间: 20250804
...cation/chrome.exe", "runtimeArgs": [ "--allow-file-access-from-files", " --disable-web-security" ], "sourceMaps": true, "webRoot": "${workspaceRoot}", //假如谷歌调试报userDataDir不可用,请把谷歌安装路径取得管理员权限,或者更换${tmpdir}为其他可以读写的文件夹,...
来源: Laya_社区 发布时间: 20200918
...sprite.visible=false的对像也统计进去了,网页端就没有问题 disabled=true后,如果增加on事件,再=false,事件没响应 Ignored attempt to cancel a touchmove event with cancelable=false Ignored attempt to cancel a touchmove event with cancelable=false state.clip.islooping = ...
来源: Laya_社区 发布时间: 20170921
...e("hero")as Image;//根据名字查找要更改的单元格 hero.disabled = HostData.array[index].hero;//属性更改 var ani :Animation = cell.getChildByName("heroani") as Animation;//加载默认动画 if (ani){ ani.play(0,true,"standDown"+HostData.array[index].aninam...
来源: Laya_社区 发布时间: 20180522
...sionObject_forceActivationState(btColObj, PhysicsComponent.ACTIVATIONSTATE_DISABLE_SIMULATION); var flags = bt.btCollisionObject_getCollisionFlags(btColObj); if (this.owner.isStatic) { if ((flags & PhysicsComponent.COLLISIONFLAGS_KINEMATIC_OBJECT) > 0...
来源: Laya_社区 发布时间: 20200505
...发-程住气 赞同来自: 成功了。我的设置如图。 一定要将disable\mouseenable设置为false,,而不能选择默认。 不知道是不是坑,laya用的贼难受。 2020-01-09 0 1 分享 微博 QZONE 微信 SEVENTH_HEAVEN 赞同来自: 弹窗 mouseThrough = true 首先你得...
来源: Laya_社区 发布时间: 20180601
ui的BUG ui编辑中,给按钮设置了disabled=true之后,在代码里面改为=false。按钮颜色可以恢复,但是鼠标事件仍然不可接受。 类库是1.8.6beta 附件 : --> 2019-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20191216
...[ "--allow-file-access-from-files", "--allow-file-access-frome-files", " --disable-web-security" ], "sourceMaps": false, "webRoot": "${workspaceRoot}", //假如谷歌调试报userDataDir不可用,请把谷歌安装路径取得管理员权限,或者更换${tmpdir}为其他可以读写的文件夹...
来源: Laya_社区 发布时间: 20181012