moved app_mode to its own file

This commit is contained in:
2026-05-22 09:07:10 +01:00
parent 70c6bd17c8
commit 88ac752d9e
20 changed files with 24 additions and 886 deletions
+1 -1
View File
@@ -908,7 +908,7 @@ impl Gfx {
let col_start = (-x).clamp(0, glyph_w) as usize;
let col_end = (screen_w - x).clamp(0, glyph_w) as usize;
for row_idx in row_start..row_end {
for (row_idx, _) in glyph.iter().enumerate().take(row_end).skip(row_start) {
let row = glyph[row_idx];
let py = (y + row_idx as i32) as usize;
let base = py * self.w;