1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-16 00:03:45 +00:00

Set default dpi to 96, if it can't be determined.

This commit is contained in:
Bryan Roe
2022-02-09 23:08:00 -08:00
parent 7f7edbf0b0
commit b2e74808eb
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -113,7 +113,7 @@ function monitorinfo()
this._monitorinfo.callback.on('GlobalCallback', function OnMonitorInfo(hmon, hdc, r, user) {
if (this.ObjectToPtr_Verify(this.info, user))
{
var dpi = null;
var dpi = 96;
var sh = require('monitor-info')._shcore;
if (sh != null)
{