graphics() fix empty controllers (macOS)
This commit is contained in:
parent
cb8440911a
commit
b5f899b312
@ -97,7 +97,7 @@ function graphics(callback) {
|
||||
}
|
||||
level = starts.indexOf(start);
|
||||
if (level < lastlevel) {
|
||||
if (Object.keys(currentController).length > 0) {// just changed to Displays
|
||||
if (Object.keys(currentController).length > 0 && (currentController.vendor || currentController.model)) {// just changed to Displays
|
||||
controllers.push(currentController);
|
||||
currentController = {
|
||||
vendor: '',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user