It would be good to disable frame check if AARD is halted or exited
This commit is contained in:
parent
23ca74afdb
commit
3ac3f1aee5
@ -408,7 +408,7 @@ class ArDetector {
|
||||
* @returns
|
||||
*/
|
||||
private canTriggerFrameCheck() {
|
||||
if (this._paused) {
|
||||
if (this._paused || this._halted || this._exited) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -620,6 +620,10 @@ class ArDetector {
|
||||
}
|
||||
|
||||
processAr(trueAr){
|
||||
if (!this.isRunning()) {
|
||||
this.logger.log('warn', 'debug', `[ArDetect::processAr] <@${this.arid}> Trying to change aspect ratio while AARD is paused.`);
|
||||
return;
|
||||
}
|
||||
this.detectedAr = trueAr;
|
||||
|
||||
// poglejmo, če se je razmerje stranic spremenilo
|
||||
|
Loading…
Reference in New Issue
Block a user