From 453cab71e4863f98bc93fd52e0a97f34ca778b23 Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 19 Jan 2026 21:49:34 -0800 Subject: [PATCH] chore: remove debug logging from kline pan Co-Authored-By: Claude Opus 4.5 --- .../presentation/widgets/kline_chart/kline_chart_widget.dart | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/mining-app/lib/presentation/widgets/kline_chart/kline_chart_widget.dart b/frontend/mining-app/lib/presentation/widgets/kline_chart/kline_chart_widget.dart index b9cddd03..7ee4b2f2 100644 --- a/frontend/mining-app/lib/presentation/widgets/kline_chart/kline_chart_widget.dart +++ b/frontend/mining-app/lib/presentation/widgets/kline_chart/kline_chart_widget.dart @@ -538,9 +538,6 @@ class _KlineChartWidgetState extends State { final double maxScroll = math.max(0.0, (widget.klines.length - 0.5) * _candleWidth - drawableWidth / 2); // 向右滑 dx>0,scrollX 减小,显示更早的数据 _scrollX = (_startScrollX - dx).clamp(0.0, maxScroll); - - // DEBUG: 打印滚动信息 - debugPrint('Pan: dx=$dx, scrollX=$_scrollX, maxScroll=$maxScroll'); } }); }