Auto Scroll Update
This commit is contained in:
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user