More layout tweaks and fixes

This commit is contained in:
Pieter Vander Vennet 2024-06-18 19:40:50 +02:00
parent b678efffd1
commit 2019e6c34c
11 changed files with 161 additions and 99 deletions

View file

@ -97,6 +97,15 @@ class SingleBackgroundHandler {
}
}
private tryEnableSafe(): boolean{
try {
return this.tryEnable()
}catch (e) {
console.log("Error: could not enable due to error", e)
return false
}
}
/**
* Returns 'false' if should be attempted again
* @private