summaryrefslogtreecommitdiff
path: root/src/modules/logs/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/logs/utils.ts')
-rw-r--r--src/modules/logs/utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/logs/utils.ts b/src/modules/logs/utils.ts
index cb0d7c6..34a716f 100644
--- a/src/modules/logs/utils.ts
+++ b/src/modules/logs/utils.ts
@@ -5,5 +5,5 @@ export const LOG_TYPES: Record<string, string> = {
error: 'error',
};
-export const LOGS_HEIGHT_RATIO = 0.8;
-export const LOGS_SCROLL_BOTTOM_THRESHOLD = 50; \ No newline at end of file
+/** 距底部多少像素以内算「贴着底」,自动跟随新日志 */
+export const LOGS_SCROLL_BOTTOM_THRESHOLD = 50;