mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 14:19:38 +00:00
- Update API
- Add Chart Preview - Add Drum Type dropdown when the "drums" instrument is selected - Add Min/Max Year to advanced search - Add Track Hash to advanced search - Add "Download Video Backgrounds" setting - Updated and improved detected chart issues
This commit is contained in:
@@ -14,6 +14,7 @@ export class SettingsComponent implements OnInit {
|
||||
|
||||
public chartFolderName: FormControl<string>
|
||||
public isSng: FormControl<boolean>
|
||||
public downloadVideos: FormControl<boolean>
|
||||
public isCompactTable: FormControl<boolean>
|
||||
|
||||
public artistColumn: FormControl<boolean>
|
||||
@@ -44,6 +45,8 @@ export class SettingsComponent implements OnInit {
|
||||
|
||||
this.isSng = new FormControl<boolean>(ss.isSng, { nonNullable: true })
|
||||
this.isSng.valueChanges.subscribe(value => settingsService.isSng = value)
|
||||
this.downloadVideos = new FormControl<boolean>(ss.downloadVideos, { nonNullable: true })
|
||||
this.downloadVideos.valueChanges.subscribe(value => settingsService.downloadVideos = value)
|
||||
this.isCompactTable = new FormControl<boolean>(settingsService.isCompactTable, { nonNullable: true })
|
||||
this.isCompactTable.valueChanges.subscribe(value => ss.isCompactTable = value)
|
||||
|
||||
@@ -91,10 +94,6 @@ export class SettingsComponent implements OnInit {
|
||||
})
|
||||
}
|
||||
|
||||
async downloadVideos(isChecked: boolean) {
|
||||
this.settingsService.downloadVideos = isChecked
|
||||
}
|
||||
|
||||
async getLibraryDirectory() {
|
||||
const result = await window.electron.invoke.showOpenDialog({
|
||||
title: 'Choose library folder',
|
||||
|
||||
Reference in New Issue
Block a user