新增播放速率调整功能
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
@update:model-value="saveVolumeIsMute($event)"
|
||||
/>
|
||||
</div>
|
||||
<common-volume-bar />
|
||||
<base-slider-bar :value="volume" :min="0" :max="1" @change="handleUpdateVolume" />
|
||||
</div>
|
||||
</template>
|
||||
</material-popup-btn>
|
||||
@@ -30,6 +30,10 @@ import { computed } from '@common/utils/vueTools'
|
||||
import { saveVolumeIsMute } from '@renderer/store/setting'
|
||||
import { volume, isMute } from '@renderer/store/player/volume'
|
||||
|
||||
const handleUpdateVolume = (val) => {
|
||||
window.app_event.setVolume(val)
|
||||
}
|
||||
|
||||
const icon = computed(() => {
|
||||
return isMute.value
|
||||
? '#icon-volume-mute-outline'
|
||||
|
||||
Reference in New Issue
Block a user