Skip to content

Commit 5668c15

Browse files
committed
fixed Advanced EQ Global gain slider not animating
1 parent 3a56f53 commit 5668c15

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

native/app/Source/Constants.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import AMCoreAudio
1313
struct Constants {
1414

1515
#if DEBUG
16-
// static let UI_ENDPOINT_URL = "http://localhost:4200"
17-
static let UI_ENDPOINT_URL = "https://ui-v000.eqmac.app"
16+
static let UI_ENDPOINT_URL = "http://localhost:4200"
17+
// static let UI_ENDPOINT_URL = "https://ui-v000.eqmac.app"
1818
static let DEBUG = true
1919
#else
2020
static let DEBUG = false
Binary file not shown.

ui/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "eqmac",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"scripts": {
55
"start": "ng serve",
6-
"build": "ng build --prod",
6+
"build": "rm -rf dist/ && ng build --prod",
77
"package": "npm run build && cd dist/ && zip -r -D ../ui.zip * -x '*.DS_Store'",
88
"deploy": "export $(egrep -v '^#' .env | xargs) && ./scripts/deploy.sh",
99
"purge-cache": "./node_modules/.bin/ts-node -O '{\"module\":\"commonjs\"}' ./scripts/purge-cache.ts"

ui/src/app/sections/effects/equalizers/advanced-equalizer/advanced-equalizer.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export class AdvancedEqualizerComponent extends EqualizerComponent implements On
7373
// TODO: Refactor this bollocks
7474
// Global
7575
const currentGlobalGain = this.global
76-
if (this.global !== currentGlobalGain) {
76+
if (this.global !== this.selectedPreset.gains.global) {
7777
this.stickSlidersToMiddle = false
7878
this.change.detectChanges()
7979
this.transition.perform(currentGlobalGain, this.selectedPreset.gains.global, value => {
@@ -141,7 +141,6 @@ export class AdvancedEqualizerComponent extends EqualizerComponent implements On
141141

142142
protected setupEvents () {
143143
this.service.onPresetsChanged(presets => {
144-
console.log(presets)
145144
if (!presets) return
146145
this.presets = presets
147146
})

0 commit comments

Comments
 (0)