aboutsummaryrefslogtreecommitdiffstats
path: root/win/win.go
diff options
context:
space:
mode:
Diffstat (limited to 'win/win.go')
-rw-r--r--win/win.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/win.go b/win/win.go
index c4972c2..0a9b8c4 100644
--- a/win/win.go
+++ b/win/win.go
@@ -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() {