0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

WSLgでPlaywrightのブラウザ表示倍率を画面倍率に連動させたいな

0
Posted at

ウィンドウちっちゃすぎて老眼には堪えたので

答え

下記ファイルを作成

C:\Users\ユーザー名\.wslgconfig
[system-distro-env]
WESTON_RDP_FRACTIONAL_HI_DPI_SCALING=true

その後WSL再起動

PS C:\Users\ユーザー名> wsl --shutdown

意図せずウィンドウサイズの変更に内部描画がリアルタイムで追従するようになってとっても幸せ

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?