Skip to content

Commit

Permalink
Add exporting QT_AUTO_SCREEN_SCALE_FACTOR to 1 in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
akiyosi committed Aug 20, 2022
1 parent 8eecb69 commit d0bdbe6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions editor/editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,9 +643,7 @@ func (e *Editor) setEnv() {
}
}

// For Windows
// https://github.com/equalsraf/neovim-qt/issues/391
if runtime.GOOS == "windows" {
if runtime.GOOS != "darwin" {
_ = os.Setenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1")
}
}
Expand Down

0 comments on commit d0bdbe6

Please sign in to comment.