graphics() fix empty controllers (macOS)
This commit is contained in:
parent
b5f899b312
commit
ef195cb3ba
@ -206,7 +206,7 @@ function graphics(callback) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
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);
|
controllers.push(currentController);
|
||||||
}
|
}
|
||||||
if (Object.keys(currentDisplay).length > 0) {// just changed to Displays
|
if (Object.keys(currentDisplay).length > 0) {// just changed to Displays
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user