Skip to content

Commit

Permalink
Beam: fix pixel-bound loading of presets
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Apr 22, 2024
1 parent b1a96b6 commit ad56e31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/beam/scatter/BeamScatterPaneDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ export function BeamScatterDropdown(props: {

{/* Load any preset */}
{presets.map(preset =>
<MenuItem key={preset.id}>
<MenuItem key={preset.id} onClick={() => handlePresetLoad(preset.id)}>
<ListItemDecorator />
<Typography onClick={() => handlePresetLoad(preset.id)}>
<Typography>
Load &quot;{preset.name}&quot; &nbsp;<span style={{ opacity: 0.5, marginRight: '2rem' }}>x{preset.rayLlmIds?.length}</span>
</Typography>
<IconButton
Expand Down Expand Up @@ -163,7 +163,7 @@ export function BeamScatterDropdown(props: {
Response Numbers
</MenuItem>

<ListItem>
<ListItem onClick={() => handleClearLastConfig()}>
<Typography level='body-sm'>Advanced</Typography>
</ListItem>

Expand Down

0 comments on commit ad56e31

Please sign in to comment.