mirror of
https://github.com/cupcakearmy/unpixel.git
synced 2024-12-22 08:06:33 +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'],
|
boot: ['Start on boot'],
|
||||||
autoClose: ['Close window after countdown'],
|
autoClose: ['Close window after countdown'],
|
||||||
volume: ['Chime Volume'],
|
volume: ['Chime Volume'],
|
||||||
|
skipOnCameraOrMic: ['Pause when Mic or Camera are active'],
|
||||||
}
|
}
|
||||||
|
|
||||||
const ranges: Partial<Record<keyof typeof labels, [number, number]>> = {
|
const ranges: Partial<Record<keyof typeof labels, [number, number]>> = {
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
import '../base.css'
|
|
||||||
|
|
||||||
import Field from './Field'
|
import Field from './Field'
|
||||||
|
|
||||||
const Settings = () => {
|
const Settings = () => {
|
||||||
@ -15,6 +13,10 @@ const Settings = () => {
|
|||||||
<Field setting="volume" />
|
<Field setting="volume" />
|
||||||
<Field setting="autoClose" />
|
<Field setting="autoClose" />
|
||||||
<Field setting="boot" />
|
<Field setting="boot" />
|
||||||
|
<Field setting="skipOnCameraOrMic" />
|
||||||
|
<small className="ml4" style={{ position: 'relative', top: '-0.5em' }}>
|
||||||
|
only on <i>macOS</i>
|
||||||
|
</small>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user