remove console-scale fix

This commit is contained in:
Frank Skare
2021-09-05 22:51:09 +02:00
parent c075278180
commit 1e886fc124
2 changed files with 1 additions and 7 deletions

View File

@@ -227,12 +227,6 @@ namespace mpvnet
if (!File.Exists(_ConfigFolder + "mpv.conf"))
{
string conf = Properties.Resources.mpv_conf;
float scale = Native.GetDPI(IntPtr.Zero) / 96.0f;
if (scale != 1)
conf = conf.Replace("console-scale=1", "console-scale=" +
scale.ToString(CultureInfo.InvariantCulture));
File.WriteAllText(_ConfigFolder + "mpv.conf", conf);
}
}