chore(showcase): temporary removed custom music
This commit is contained in:
@@ -82,9 +82,9 @@ properties:
|
|||||||
- key: notice_title
|
- key: notice_title
|
||||||
value:
|
value:
|
||||||
text: ui_notice_title
|
text: ui_notice_title
|
||||||
- key: notice_changelog
|
# - key: notice_changelog
|
||||||
value:
|
# value:
|
||||||
text: ui_notice_changelog
|
# text: ui_notice_changelog
|
||||||
- key: notice_set_fps
|
- key: notice_set_fps
|
||||||
value:
|
value:
|
||||||
text: ui_notice_set_fps
|
text: ui_notice_set_fps
|
||||||
@@ -245,11 +245,12 @@ properties:
|
|||||||
type: combo
|
type: combo
|
||||||
value: !match ~{var('assets', "music")[0]}
|
value: !match ~{var('assets', "music")[0]}
|
||||||
options: !match ~{var('assets', "musicOptions")}
|
options: !match ~{var('assets', "musicOptions")}
|
||||||
- key: custom_music
|
# - key: custom_music
|
||||||
value:
|
# value:
|
||||||
text: ui_custom_music
|
# text: ui_custom_music
|
||||||
type: file
|
# condition: music_title.value == true
|
||||||
value: ""
|
# type: file
|
||||||
|
# value: ""
|
||||||
- key: music_volume
|
- key: music_volume
|
||||||
value:
|
value:
|
||||||
text: ui_music_volume
|
text: ui_music_volume
|
||||||
|
|||||||
@@ -100,8 +100,10 @@ export default class Music {
|
|||||||
|
|
||||||
resetMusic() {
|
resetMusic() {
|
||||||
this.#isUsingCustomMusic = false
|
this.#isUsingCustomMusic = false
|
||||||
|
if (this.#useMusic) {
|
||||||
this.#playMusic()
|
this.#playMusic()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#playMusic() {
|
#playMusic() {
|
||||||
if (!this.#isUsingCustomMusic) {
|
if (!this.#isUsingCustomMusic) {
|
||||||
|
|||||||
Reference in New Issue
Block a user