Auto Scroll Update

This commit is contained in:
2025-11-28 03:14:06 +00:00
parent 9bda252271
commit c61cb39475
9 changed files with 56 additions and 26 deletions
+3 -2
View File
@@ -3,11 +3,12 @@
import type { TerminalLine } from '$lib/components/tui/types';
import ModelViewer from '$lib/components/ModelViewer.svelte';
import { user } from '$lib/config';
import { getPageSpeedMultiplier } from '$lib';
import { getPageSpeedMultiplier, getPageAutoscroll } from '$lib';
import { themeColors } from '$lib/stores/theme';
import Icon from '@iconify/svelte';
const speed = getPageSpeedMultiplier('models');
const autoscroll = getPageAutoscroll('models');
// Available GLB files in static/models/
const glbModels = [
@@ -62,7 +63,7 @@
>
<!-- Terminal Section -->
<div class="terminal-section">
<TerminalTUI {lines} title="~/3d-models" interactive={true} {speed} />
<TerminalTUI {lines} title="~/3d-models" interactive={true} {speed} {autoscroll} />
</div>
<!-- 3D Viewer Section -->