diff --git a/native/app/Source/Constants.swift b/native/app/Source/Constants.swift index 91fd448..e74414d 100644 --- a/native/app/Source/Constants.swift +++ b/native/app/Source/Constants.swift @@ -13,8 +13,8 @@ import AMCoreAudio struct Constants { #if DEBUG -// static let UI_ENDPOINT_URL = "http://localhost:4200" - static let UI_ENDPOINT_URL = "https://ui-v000.eqmac.app" + static let UI_ENDPOINT_URL = "http://localhost:4200" +// static let UI_ENDPOINT_URL = "https://ui-v000.eqmac.app" static let DEBUG = true #else static let DEBUG = false diff --git a/native/eqMac.xcworkspace/xcuserdata/romanskisils.xcuserdatad/UserInterfaceState.xcuserstate b/native/eqMac.xcworkspace/xcuserdata/romanskisils.xcuserdatad/UserInterfaceState.xcuserstate index d6d621a..66c7fd9 100644 Binary files a/native/eqMac.xcworkspace/xcuserdata/romanskisils.xcuserdatad/UserInterfaceState.xcuserstate and b/native/eqMac.xcworkspace/xcuserdata/romanskisils.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/ui/package.json b/ui/package.json index 8b445a3..9c41f34 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,9 +1,9 @@ { "name": "eqmac", - "version": "0.0.4", + "version": "0.0.5", "scripts": { "start": "ng serve", - "build": "ng build --prod", + "build": "rm -rf dist/ && ng build --prod", "package": "npm run build && cd dist/ && zip -r -D ../ui.zip * -x '*.DS_Store'", "deploy": "export $(egrep -v '^#' .env | xargs) && ./scripts/deploy.sh", "purge-cache": "./node_modules/.bin/ts-node -O '{\"module\":\"commonjs\"}' ./scripts/purge-cache.ts" diff --git a/ui/src/app/sections/effects/equalizers/advanced-equalizer/advanced-equalizer.component.ts b/ui/src/app/sections/effects/equalizers/advanced-equalizer/advanced-equalizer.component.ts index 3bfa8ef..b8f77b8 100644 --- a/ui/src/app/sections/effects/equalizers/advanced-equalizer/advanced-equalizer.component.ts +++ b/ui/src/app/sections/effects/equalizers/advanced-equalizer/advanced-equalizer.component.ts @@ -73,7 +73,7 @@ export class AdvancedEqualizerComponent extends EqualizerComponent implements On // TODO: Refactor this bollocks // Global const currentGlobalGain = this.global - if (this.global !== currentGlobalGain) { + if (this.global !== this.selectedPreset.gains.global) { this.stickSlidersToMiddle = false this.change.detectChanges() this.transition.perform(currentGlobalGain, this.selectedPreset.gains.global, value => { @@ -141,7 +141,6 @@ export class AdvancedEqualizerComponent extends EqualizerComponent implements On protected setupEvents () { this.service.onPresetsChanged(presets => { - console.log(presets) if (!presets) return this.presets = presets })