Skip to content

Commit

Permalink
move MIDI flag to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
YeonV committed Oct 10, 2024
1 parent e33beb7 commit a4ce239
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/Midi/LaunchpadButtonMap.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ArrowForwardIos, BrightnessHigh, Collections, Pause, PlayArrow, ViewSidebar, Menu as MenuIcon, Save, Delete, DeleteForever, Visibility, Autorenew, Fullscreen, FullscreenExit, BugReport, Send } from '@mui/icons-material'
import { Box, Button, Divider, ListItemIcon, ListItemText, Menu, MenuItem, Select, SelectChangeEvent, Stack, TextField, TextFieldProps, Typography, useTheme } from '@mui/material'
import { Box, Button, Divider, ListItemIcon, ListItemText, Menu, MenuItem, Select, SelectChangeEvent, Stack, TextField, Typography, useTheme } from '@mui/material'
import BladeIcon from '../Icons/BladeIcon/BladeIcon'
import useStore from '../../store/useStore'
import Assign from '../Gamepad/Assign'
Expand Down
5 changes: 5 additions & 0 deletions src/pages/Settings/BetaFeatures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ const BetaFeatures = () => {
checked={features.gamepad}
onChange={() => setFeatures('gamepad', !features.gamepad)}
/>
<SettingsRow
title="MIDI"
checked={features.scenemidi}
onChange={() => setFeatures('scenemidi', !features.scenemidi)}
/>
<SettingsRow
title="Effect Filter"
checked={features.effectfilter}
Expand Down
5 changes: 0 additions & 5 deletions src/pages/Settings/ScenesSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ const ScenesSection = () => {
checked={features.sceneexternal}
onChange={() => setFeatures('sceneexternal', !features.sceneexternal)}
/>
<SettingsRow
title="Assign MIDI & Activate Scene"
checked={features.scenemidi}
onChange={() => setFeatures('scenemidi', !features.scenemidi)}
/>
</>
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const Settings = () => {
</SettingsAccordion>
)} */}

{features.beta && <SettingsAccordion title="MIDI" accId="2b" icon="mdi:midi">
{features.scenemidi && <SettingsAccordion title="MIDI" accId="2b" icon="mdi:midi">
<MidiCard />
</SettingsAccordion>}
<SettingsAccordion title="UI" accId="2a" icon="Widgets">
Expand Down

0 comments on commit a4ce239

Please sign in to comment.