systeminformation 5.17.0 → 5.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/graphics.js +4 -4
  2. package/package.json +1 -1
package/lib/graphics.js CHANGED
@@ -689,11 +689,11 @@ function graphics(callback) {
689
689
  const current = obj['DisplayAnyUserSets'][0];
690
690
  let i = 0;
691
691
  current.forEach((o) => {
692
- if ('LimitsOriginX' in o && result.displays && result.displays[i]) {
693
- result.displays[i].positionX = o['LimitsOriginX'];
692
+ if ('OriginX' in o && result.displays && result.displays[i]) {
693
+ result.displays[i].positionX = o['OriginX'];
694
694
  }
695
- if ('LimitsOriginY' in o && result.displays && result.displays[i]) {
696
- result.displays[i].positionY = o['LimitsOriginY'];
695
+ if ('OriginY' in o && result.displays && result.displays[i]) {
696
+ result.displays[i].positionY = o['OriginY'];
697
697
  }
698
698
  if (o['Mode'] && 'BitsPerPixel' in o['Mode'] && result.displays && result.displays[i]) {
699
699
  result.displays[i].pixelDepth = o['Mode']['BitsPerPixel'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "5.17.0",
3
+ "version": "5.17.1",
4
4
  "description": "Advanced, lightweight system and OS information library",
5
5
  "license": "MIT",
6
6
  "author": "Sebastian Hildebrandt <hildebrandt@plus-innovations.com> (https://plus-innovations.com)",