From 0e63e064fc79261ac2131145a8a7d61407249946 Mon Sep 17 00:00:00 2001 From: scanalyzer Date: Sun, 14 Sep 2025 18:41:51 -0700 Subject: [PATCH] Update painter.js Added more font sizes to support things like a single emoji on T-Panel and larger displays. --- ESP32_AP-Flasher/wwwroot/painter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESP32_AP-Flasher/wwwroot/painter.js b/ESP32_AP-Flasher/wwwroot/painter.js index e92b714c..0bdf38b5 100644 --- a/ESP32_AP-Flasher/wwwroot/painter.js +++ b/ESP32_AP-Flasher/wwwroot/painter.js @@ -215,7 +215,7 @@ function startPainter(mac, width, height, tagtype) { canvas.addEventListener('touchend', handleTouchEnd); canvas.addEventListener('touchmove', handleTouchMove, { passive: true }); - var sizes = [10,11,12,13,14,16,18,20,24,28,32,36,40,48,56,64,72,84]; + var sizes = [10,11,12,13,14,16,18,20,24,28,32,36,40,48,56,64,72,84,96,108,120,144,168,192,256,320,384,480,512]; const fontSelect = document.createElement('select'); fontSelect.id = 'font-select';