From 77b714ef8e4c65317797caa810e86d3aeab60a5d Mon Sep 17 00:00:00 2001 From: Macbook Date: Tue, 2 Jun 2026 12:15:16 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=BC=EB=AA=A9=EA=B7=A0=ED=98=95=ED=91=9C?= =?UTF-8?q?=20z-order=20=ED=85=8C=EC=8A=A4=ED=8A=B8:=20=EB=B9=A8=EA=B0=84?= =?UTF-8?q?=20=EC=A7=81=EC=82=AC=EA=B0=81=ED=98=95=20=EA=B7=B8=EB=A6=AC?= =?UTF-8?q?=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- frontend/src/utils/IchimokuCloudPlugin.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/utils/IchimokuCloudPlugin.ts b/frontend/src/utils/IchimokuCloudPlugin.ts index d23c60e..b2c192f 100644 --- a/frontend/src/utils/IchimokuCloudPlugin.ts +++ b/frontend/src/utils/IchimokuCloudPlugin.ts @@ -66,12 +66,17 @@ class CloudRenderer implements IPrimitivePaneRenderer { // eslint-disable-next-line @typescript-eslint/no-explicit-any draw(target: any): void { - console.log('[IchimokuCloud] draw called. data.length:', this._data.length); if (this._data.length < 2) return; const timeScale = this._chart.timeScale(); // eslint-disable-next-line @typescript-eslint/no-explicit-any target.useBitmapCoordinateSpace(({ context: ctx, horizontalPixelRatio: hpr, verticalPixelRatio: vpr }: any) => { + // Z-ORDER TEST: 밝은 빨간 직사각형 - 보이면 z-order가 맞고, 안보이면 캔버스가 뒤에 있는것 + ctx.save(); + ctx.fillStyle = 'rgba(255, 0, 0, 0.8)'; + ctx.fillRect(100 * hpr, 50 * vpr, 300 * hpr, 80 * vpr); + ctx.restore(); + let drawn = 0, skippedTime = 0, skippedPrice = 0; for (let i = 0; i < this._data.length - 1; i++) { const a = this._data[i];