mirror of
https://github.com/cupcakearmy/unpixel.git
synced 2024-12-21 23:56:28 +00:00
add pause on mic/camera toggle
This commit is contained in:
parent
447726e6cc
commit
8854566336
@ -7,6 +7,7 @@ const labels = {
|
||||
boot: ['Start on boot'],
|
||||
autoClose: ['Close window after countdown'],
|
||||
volume: ['Chime Volume'],
|
||||
skipOnCameraOrMic: ['Pause when Mic or Camera are active'],
|
||||
}
|
||||
|
||||
const ranges: Partial<Record<keyof typeof labels, [number, number]>> = {
|
||||
|
@ -1,7 +1,5 @@
|
||||
import React from 'react'
|
||||
|
||||
import '../base.css'
|
||||
|
||||
import Field from './Field'
|
||||
|
||||
const Settings = () => {
|
||||
@ -15,6 +13,10 @@ const Settings = () => {
|
||||
<Field setting="volume" />
|
||||
<Field setting="autoClose" />
|
||||
<Field setting="boot" />
|
||||
<Field setting="skipOnCameraOrMic" />
|
||||
<small className="ml4" style={{ position: 'relative', top: '-0.5em' }}>
|
||||
only on <i>macOS</i>
|
||||
</small>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user