Detect if is retina.

This commit is contained in:
Devine Lu Linvega
2018-08-03 09:13:14 +12:00
parent 983b307429
commit 74f608d38c
3 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ function Guide()
this.el.style.height = "320px";
this.show_extras = true;
var scale = 2;
var scale = require('electron').remote.getCurrentWindow().scaleFactor;
this.start = function()
{