minigame-canvas-engine icon indicating copy to clipboard operation
minigame-canvas-engine copied to clipboard

轻量级canvas2d渲染引擎,开放数据域开发解决方案。

Results 9 minigame-canvas-engine issues
Sort by recently updated
recently updated
newest added

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.22 to 8.4.31. Release notes Sourced from postcss's releases. 8.4.31 Fixed \r parsing to fix CVE-2023-44270. 8.4.30 Improved source map performance (by @​romainmenke). 8.4.29 Fixed Node#source.offset (by...

dependencies

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @​mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @​OlafConijn in...

dependencies

Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. Release notes Sourced from semver's releases. v5.7.2 5.7.2 (2023-07-10) Bug Fixes 2f8fd41 #585 better handling of whitespace (#585) (@​joaomoreno, @​lukekarrys) Changelog Sourced from semver's...

dependencies

bitmaptext支持fontSize属性

bug

Layout.init阶段核心仅仅是根据xml和css创建了节点树,Layout.init之后是执行 Layout.layout执行渲染 之所以将 layout 单独抽象为一个函数,是因为 layout 应当是可以重复调用的,比如改变了一个元素的尺寸,实际上节点树是没变的,仅仅是需要重新计算布局,然后渲染 一个完整的 layout 分成下面的几步: 1. 执行画布清理,因为布局变化页面需要重绘,这里没有做很高级的剔除等操作,一律清除重画,实际上性能已经很好; 2. 节点树都含有 style 属性,css-layout 能够根据这些信息计算出最终布局,详情可见 https://www.npmjs.com/package/css-layout; 3. 经过 Layout 计算,节点树带上了 layout、lastLayout、shouldUpdate 布局信息,但这些信息并不是能够直接用的比如 layout.top 是指在一个父容器内的 top,最终要实现渲染,实际上要递归加上父容器的 top这样每次 repaint 的时候只需要直接使用计算好的值即可,不需要每次都递归计算这一步称为...

feature

编写 Laya2.0 游戏适配文档 并发布到Laya社区

documentation

Laya 2.0 编写适配文档并发布到Laya社区

documentation

Fix:此处不应该用!.断言,特殊情况this.scrollerObj确实为null

一般情况下,只有在数据刷新的时候才需要刷新UI,等刷新完成后主动关闭Ticker节省CPU性能,这次提交用户可以在更新数据后主动调用frame(xx)指定特定帧后停止