Improve some Dock screenshots

This commit is contained in:
Yann Bertrand 2022-08-19 15:38:29 +02:00
parent dafc00ed8a
commit e5ea59c7ca
4 changed files with 4 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -7,7 +7,9 @@ module.exports = {
try { try {
const { screenWidth, screenHeight } = MacRunner.getScreenSize() const { screenWidth, screenHeight } = MacRunner.getScreenSize()
const dockHeight = MacRunner.getDockHeight()
// Dock gets larger when not showing most recent Apps
const dockHeight = MacRunner.getDockHeight() + 4
const runner = new MacRunner() const runner = new MacRunner()
await runner await runner

View file

@ -22,7 +22,7 @@ class MacRunner {
* @return {number} The Dock height * @return {number} The Dock height
*/ */
static getDockHeight() { static getDockHeight() {
return 80 return 76
} }
/** /**