Skip to content
This repository was archived by the owner on May 7, 2023. It is now read-only.

Commit afdcabd

Browse files
committed
why did past me do this to me.
1 parent 44b3ea2 commit afdcabd

2 files changed

Lines changed: 5 additions & 13 deletions

File tree

scripts/wa2visualizer.m

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -198,24 +198,28 @@
198198
}
199199

200200
System.onStop(){
201+
LegacyOptions(compatibility);
201202
VU.start();
202203
peak1 = 0;
203204
peak2 = 0;
204205
}
205206

206207
System.onPause(){
208+
LegacyOptions(compatibility);
207209
if(currentMode == 1){
208210
VU.stop();
209211
}
210212
}
211213

212214
System.onResume(){
215+
LegacyOptions(compatibility);
213216
if(currentMode == 1){
214217
VU.start();
215218
}
216219
}
217220

218221
System.onPlay(){
222+
LegacyOptions(compatibility);
219223
if(currentMode == 1){
220224
VU.start();
221225
}
@@ -396,7 +400,7 @@
396400
show_peaks = getPrivateInt(getSkinName(), "Visualizer show Peaks", 1);
397401
compatibility = getPrivateInt(getSkinName(), "DeClassified Classic Visualizer behavior", 1);
398402
a_falloffspeed = getPrivateInt(getSkinName(), "Visualizer analyzer falloff", 3);
399-
p_falloffspeed = getPrivateInt(getSkinName(), "Visualizer Peaks falloff", 2);
403+
p_falloffspeed = getPrivateInt(getSkinName(), "Visualizer Peaks falloff", 1);
400404
osc_render = getPrivateInt(getSkinName(), "Oscilloscope Settings", 2);
401405
ana_render = getPrivateInt(getSkinName(), "Spectrum Analyzer Settings", 2);
402406
a_coloring = getPrivateInt(getSkinName(), "Visualizer analyzer coloring", 0);
@@ -563,18 +567,6 @@
563567
setFont(SKINNEDFONT);
564568
}
565569

566-
System.onStop(){
567-
LegacyOptions(compatibility);
568-
}
569-
570-
System.onPlay(){
571-
LegacyOptions(compatibility);
572-
}
573-
574-
System.onResume(){
575-
LegacyOptions(compatibility);
576-
}
577-
578570
MainTrigger.onLeftButtonDown (int x, int y)
579571
{
580572
setVisModeLBD();

scripts/wa2visualizer.maki

-112 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)