sindresorhus/get-windows

Difference between a full-screen window size and screen resolution

Aberta

#61 aberto em 1 de dez. de 2019

 (6 comentários) (0 reação) (0 responsável)JavaScript (194 forks)user submission
bughelp wanted

Métricas do repositório

Stars
 (913 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

The display settings are 2256*1504 on my laptop. But when the active window is full-screen, the activeWin() promise returns the following bounds:

{ x: -7, y: -7, width: 1519, height: 977 }

This is a real difference! Maybe I just missed something...

P.S: this module is exactly what I was looking for, thanks @sindresorhus

Guia do colaborador