focus-editor / focus

A simple and fast text editor
GNU General Public License v3.0
1.81k stars 99 forks source link

macOS: Re-compute width and height when window changes display #467

Closed simonvallz closed 1 week ago

simonvallz commented 1 week ago

Different displays can have different backing scale factors so we need to re-compute the width and height of the window when it is moved to another screen.

simonvallz commented 1 week ago

Fix for #454