mirror of
https://github.com/bitgapp/eqMac.git
synced 2024-11-22 13:07:26 +03:00
fixed Advanced EQ Global gain slider not animating
This commit is contained in:
parent
3a56f5385d
commit
5668c15a2c
@ -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
|
||||
|
Binary file not shown.
@ -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"
|
||||
|
@ -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
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user