From 97f1de655d7206baac54fbb8e2b5af40d3179949 Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Tue, 20 Jan 2026 19:19:22 +0100 Subject: [PATCH] fix(common): wrong text color and use new AtlasImage type --- app/components/Common/Buttons.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/components/Common/Buttons.vue b/app/components/Common/Buttons.vue index 8ba58f2..fc56991 100644 --- a/app/components/Common/Buttons.vue +++ b/app/components/Common/Buttons.vue @@ -25,13 +25,12 @@ const A_BUTTON: Rect = [144, 172, BUTTON_WIDTH, BUTTON_HEIGHT]; onRender((ctx) => { ctx.globalAlpha = props.opacity ?? 1; ctx.font = "10px NDS10"; + ctx.fillStyle = "#010101"; ctx.translate(0, props.yOffset); const drawButton = ( - image: { - draw: (ctx: CanvasRenderingContext2D, x: number, y: number) => void; - }, + image: AtlasImage, text: string, x: number, offset: number,