mirror of
https://github.com/yannbertrand/macos-defaults
synced 2024-12-14 21:52:33 +00:00
✨ Improve some Dock screenshots
This commit is contained in:
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 |
|
@ -7,7 +7,9 @@ module.exports = {
|
|||
|
||||
try {
|
||||
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()
|
||||
await runner
|
||||
|
|
|
@ -22,7 +22,7 @@ class MacRunner {
|
|||
* @return {number} The Dock height
|
||||
*/
|
||||
static getDockHeight() {
|
||||
return 80
|
||||
return 76
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue