This commit is contained in:
@@ -74,7 +74,14 @@
|
||||
<p class="text-sm mb-2 text-center">
|
||||
FPS
|
||||
</p>
|
||||
<PrimeSelectButton v-model="shareFps" :options="[5, 30, 60]" fluid size="small" />
|
||||
<PrimeSelectButton
|
||||
v-model="shareFps"
|
||||
:options="shareFpsOptions"
|
||||
fluid
|
||||
size="small"
|
||||
option-label="label"
|
||||
option-value="value"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<template v-if="isTauri">
|
||||
@@ -152,6 +159,13 @@ const {
|
||||
shareFps,
|
||||
} = usePreferences()
|
||||
|
||||
const shareFpsOptions = [5, 30, 60].map((value) => {
|
||||
return {
|
||||
label: value.toString(),
|
||||
value,
|
||||
}
|
||||
})
|
||||
|
||||
const setupToggleInputHotkey = (event: KeyboardEvent) => setupHotkey(event, toggleInputHotkey)
|
||||
const setupToggleOutputHotkey = (event: KeyboardEvent) => setupHotkey(event, toggleOutputHotkey)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user