mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 14:24:12 +08:00
当use_canvas的时候,使用真实宽度出现了bug,尝试修正
This commit is contained in:
parent
dbcc01176b
commit
4add95926a
@ -328,6 +328,7 @@ acf_canvas_t acf_use_canvas(acf_canvas_t canvas, acf_boolean_t use_rwidth, acf_v
|
||||
|
||||
register acf_rectedge_t width = ACFONT_CANVAS_WIDTH(canvas), height = gblfont.height;
|
||||
register acf_rectedge_t loop_width = use_rwidth ? ACFONT_CANVAS_RWIDTH(canvas) : width;
|
||||
if( use_rwidth && loop_width > width ) loop_width = width;
|
||||
for( acf_position_t i=0; i < height; i++ )
|
||||
{
|
||||
acf_position_t dy = height - 1 - i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user