返回 DeepSeek-Reasonix
chromium_scale_test.go
根目录 / desktop / third_party / go-webview2 / pkg / edge / chromium_scale_test.go
1 //go:build windows
2 // +build windows
3
4 package edge
5
6 import "testing"
7
8 func TestWebView2OwnsMonitorScaleDetection(t *testing.T) {
9 if !shouldDetectMonitorScaleChanges {
10 t.Fatal("monitor-scale detection must stay enabled for mixed-DPI minimise/restore")
11 }
12 }
13
13 lines GO