graphics() fixed screen resolution issue (windows)

This commit is contained in:
Sebastian Hildebrandt
2021-10-27 22:03:44 +02:00
parent 6f63b1b02d
commit 5c5ecda955
4 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -1005,7 +1005,7 @@ function graphics(callback) {
let linesConnection = tsections[i].split('\n');
const bitsPerPixel = util.getValue(linesScreen, 'BitsPerPixel');
const bounds = util.getValue(linesScreen, 'Bounds').replace('{', '').replace('}', '').split(',');
const bounds = util.getValue(linesScreen, 'Bounds').replace('{', '').replace('}', '').replace(/=/g, ':').split(',');
const primary = util.getValue(linesScreen, 'Primary');
const sizeX = util.getValue(linesMonitor, 'MaxHorizontalImageSize');
const sizeY = util.getValue(linesMonitor, 'MaxVerticalImageSize');