enable scrollbar

This commit is contained in:
Dax Raad
2025-11-05 21:26:58 -05:00
parent 86247b8ea9
commit 2cc072b3dc
2 changed files with 11 additions and 1 deletions

View File

@@ -299,6 +299,7 @@ function App() {
},
{
title: "Toggle debug panel",
category: "System",
value: "app.debug",
onSelect: (dialog) => {
renderer.toggleDebugOverlay()
@@ -307,6 +308,7 @@ function App() {
},
{
title: "Toggle console",
category: "System",
value: "app.fps",
onSelect: (dialog) => {
renderer.console.toggle()

View File

@@ -677,7 +677,15 @@ export function Session() {
</Show>
<scrollbox
ref={(r) => (scroll = r)}
scrollbarOptions={{ visible: false }}
scrollbarOptions={{
trackOptions: {
backgroundColor: theme.backgroundElement,
foregroundColor: theme.primary,
},
arrowOptions: {
foregroundColor: theme.primary,
},
}}
stickyScroll={true}
stickyStart="bottom"
flexGrow={1}