remove 'skip non action phases' toggle

This commit is contained in:
Zutatensuppe 2021-07-06 23:57:07 +02:00
parent ac0116fc52
commit b43d45ecc6
4 changed files with 2 additions and 15 deletions

View file

@ -528,10 +528,6 @@ export async function main(
doSetSpeedStatus()
}
const replayOnSkipToggle = () => {
REPLAY.skipNonActionPhases = !REPLAY.skipNonActionPhases
}
const intervals: NodeJS.Timeout[] = []
let to: NodeJS.Timeout
const clearIntervals = () => {
@ -926,7 +922,6 @@ export async function main(
replayOnSpeedUp,
replayOnSpeedDown,
replayOnPauseToggle,
replayOnSkipToggle,
previewImageUrl,
player: {
background: playerBgColor(),

View file

@ -12,12 +12,6 @@
>
<div>
<div>{{replayText}}</div>
<div>
<label>Skip no action phases: <input
type="checkbox"
v-model="skipNoAction"
@change="g.replayOnSkipToggle()" /></label>
</div>
<button class="btn" @click="g.replayOnSpeedUp()"></button>
<button class="btn" @click="g.replayOnSpeedDown()"></button>
<button class="btn" @click="g.replayOnPauseToggle()"></button>
@ -66,7 +60,6 @@ export default defineComponent({
duration: 0,
piecesDone: 0,
piecesTotal: 0,
skipNoAction: true,
overlay: '',
@ -90,7 +83,6 @@ export default defineComponent({
replayOnSpeedUp: () => {},
replayOnSpeedDown: () => {},
replayOnPauseToggle: () => {},
replayOnSkipToggle: () => {},
connect: () => {},
disconnect: () => {},
unload: () => {},