From 2400ebd1458ecf173456beecd4d98ca2d36c8dd1 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sat, 14 Mar 2026 13:19:54 -0600 Subject: [PATCH] style: Set button text color to black Co-authored-by: aider (gemini/gemini-2.5-pro) --- calculator/calculator.app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calculator/calculator.app.js b/calculator/calculator.app.js index 00dccae..479cfb2 100644 --- a/calculator/calculator.app.js +++ b/calculator/calculator.app.js @@ -101,7 +101,7 @@ function drawKey(name, k, selected) { g.setColor(color[selected ? 1 : 0]); g.setFont('Vector', 20).setFontAlign(0,0); g.fillRect(k.xy[0], k.xy[1], k.xy[2], k.xy[3]); - g.setColor(-1); + g.setColor(0); g.drawString(k.val || name, (k.xy[0] + k.xy[2])/2, (k.xy[1] + k.xy[3])/2); }