egret-core icon indicating copy to clipboard operation
egret-core copied to clipboard

Egret is a brand new open mobile game and application engine which allows you to quickly build mobile games and apps on Android,iOS and Windows.

Results 56 egret-core issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/26664115/131944675-70812241-d349-4d6b-a673-087aeed50055.png) 当value为true时,$useVirtualLayout为true,!value为false 当value为false时,$useVirtualLayout为false,!value为true 这个判断永远都进不去呀。

onTouchCancle 单词拼写错误了。应该是 onTouchCancel ![image](https://user-images.githubusercontent.com/26664115/128301752-b226b32c-62fb-4d59-b203-7284c377c38a.png)

白鹭这边`typescript版本`落后太多了 我这边基于`DomChen`的`tsplus`项目和`microsoft/typescript`最新的`v3.2.2`制作了`lib`相关文件 目前公司的项目均能正常编译,并且使用typescript的新特性 @himuil 望采纳

### 问题描述 我换肤方案是使用的官方提供的替换slot图片的方案,发现在Canvas下无法渲染Dragonbons中使用网格的图片; ``` //封装简单的换肤函数 /** * 替换插槽 * @param slotName 插槽名称 原材料 * @param textureName 图片名 xxx_png * @param 偏移量 */ public setNewSlot( slotName:string, textureName:string ,offsetX:number=0, offsetY:number=0){ var slot:dragonBones.Slot...

如果是首个单词就换行了,那么需要回置lineH 见论坛贴子: https://bbs.egret.com/thread-60890-1-1.html

![image](https://user-images.githubusercontent.com/34265941/115493426-546a9f80-a296-11eb-88c4-f434cbb981bd.png) 这里直接放弃 renderBufferPool 里面的子项引用,没有触发gl.deleteTexture,有可能会泄漏显存?

当使用eui.ItemRenderer时会给ItemRenderer赋值$hashCode,之后使用其他继承于eui.ItemRenderer的其他ItemRenderer就会直接读取到eui.ItemRenderer的$hashCode,而无法创建新的$hashCode; 最终导致:当虚拟列表使用两个不同的renderer时,由于他们的$hashCode是一样的,所以执行createVirtualRenderer方法时会取之前缓存的renderer,最终所有Item都是同一个renderer

![image](https://user-images.githubusercontent.com/34265941/115351060-6c83e580-a1e8-11eb-9f97-434dd4efae23.png) 这里的应该是 Math.floor(startRange) 因为经过第一象限的时候,应该通过floor才能判定到0

比如这句,test whole word's wrap。如果label 宽度刚好到 word 的d 字母这么宽,'s 会被换到下一行,应该是 word's 都换到下一行才对。 错误效果: test whole word 's wrap