FairyGUI-layabox
FairyGUI-layabox copied to clipboard
A flexible UI framework for LayaAir
无法Fork2.13的分支,只能在这里提了,3.0的修复方法理论一样 新建 ChatAni.ts 类 ``` export class ChatAni extends Laya.HTMLImageElement { private _srcc: string; private frames: Array = []; constructor() { super(); this.width = 72; } public set emoji(id: string)...
 GRichTextField.ts 这里宽度加8的意思有点奇怪,现在导致富文本关连的左右居中会往左边偏移。
Laya版本:2.13.1 代码如下: Laya.stage.addChild(fairygui.GRoot.inst.displayObject); let tf = new fairygui.GBasicTextField(); tf.x = 400; tf.y = 200; tf.fontSize = 30; tf.color = "#ffff00"; tf.text = "2222222222"; fairygui.GRoot.inst.addChild(tf); let sp = new Laya.Sprite(); sp.graphics.drawRect(0,...
同时调用setVirtual和numItems时会调用两次,而callLater无法clear掉,导致重复调用
增加监听播放完成