diff options
| author | faiface <faiface2202@gmail.com> | 2019-05-07 00:59:12 +0200 |
|---|---|---|
| committer | faiface <faiface2202@gmail.com> | 2019-05-07 00:59:12 +0200 |
| commit | 8148176dbd60ed2c0e6d9d3e85e9c62aaee1ffb0 (patch) | |
| tree | 7c2eefc1839bc4736262b47ddb7781a934264009 | |
| parent | 4b3312bdd312abdedf0da12f0f25488e35c7440c (diff) | |
| download | gui-8148176dbd60ed2c0e6d9d3e85e9c62aaee1ffb0.zip | |
win: another hiDPI fix
| -rw-r--r-- | win/win.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ func New(opts ...Option) (*Win, error) { return nil, err } - bounds := image.Rect(0, 0, o.width, o.height) + bounds := image.Rect(0, 0, o.width*w.ratio, o.height*w.ratio) w.img = image.NewRGBA(bounds) go func() { |