Support high quality images

This commit is contained in:
Mohammad Fares
2019-11-22 21:08:12 +01:00
parent 23ddb97761
commit b1917fcaa4

View File

@@ -24,9 +24,6 @@ global.step = process.argv[2] || 1;
*/ */
global.renderDir = path.join(__dirname, 'frames'); global.renderDir = path.join(__dirname, 'frames');
// Set the display scale factor to 1
app.commandLine.appendSwitch('force-device-scale-factor', 1);
// Hide the Dock for macOS // Hide the Dock for macOS
if (os.platform() == 'darwin') { if (os.platform() == 'darwin') {
app.dock.hide(); app.dock.hide();