mirror of
https://github.com/zlgopen/awtk.git
synced 2025-05-08 19:44:45 +08:00
improve nanovg
This commit is contained in:
parent
be1a8bcf01
commit
42305e972c
@ -1279,6 +1279,10 @@ static void nvg__appendCommands(NVGcontext* ctx, float* vals, int nvals)
|
||||
NVGstate* state = nvg__getState(ctx);
|
||||
int i;
|
||||
|
||||
if (state->xform[0] == 0.0f || state->xform[3] == 0.0f) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (ctx->ncommands+nvals > ctx->ccommands) {
|
||||
float* commands;
|
||||
int ccommands = ctx->ncommands+nvals + ctx->ccommands/2;
|
||||
|
@ -2,6 +2,7 @@
|
||||
2025/03/28
|
||||
* 修复edit切换控件的时候光标延迟消失和改为默认回车按钮不切换控件(感谢智明提供补丁)
|
||||
* 修复在小程序中tab切换控件无效的问题(感谢智明提供补丁)
|
||||
* 降低nanovg计算缩放为0的时候计算量(感谢智明提供补丁)
|
||||
|
||||
2025/03/27
|
||||
* 增加树结构(感谢兆坤提供补丁)
|
||||
|
Loading…
x
Reference in New Issue
Block a user