mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-05 02:52:39 +08:00
fix bmfont uv error (#5092)
This commit is contained in:
@@ -63,8 +63,9 @@ export const bmfont: IAssembler = {
|
||||
renderData.indiceCount = renderData.dataLength / 2 * 3;
|
||||
|
||||
const datas = renderData.datas;
|
||||
const texw = texture.width;
|
||||
const texh = texture.height;
|
||||
const origin = texture.originalSize;
|
||||
const texw = origin.width;
|
||||
const texh = origin.height;
|
||||
|
||||
const rectWidth = rect.width;
|
||||
const rectHeight = rect.height;
|
||||
|
||||
Reference in New Issue
Block a user