sindresorhus/get-windows

Difference between a full-screen window size and screen resolution

Offen

#61 geöffnet am 01.12.2019

 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (194 Forks)user submission
bughelp wanted

Repository-Metriken

Stars
 (913 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide