fixed resize when using macOS hidpi
This commit is contained in:
parent
ecadd0e5ec
commit
04d4dab3ff
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ func (wnd *Window) StartFrame() error {
|
||||||
wnd.SizeChange(int(e.Data1), int(e.Data2))
|
wnd.SizeChange(int(e.Data1), int(e.Data2))
|
||||||
handled = true
|
handled = true
|
||||||
} else {
|
} else {
|
||||||
wnd.Backend.SetBounds(0, 0, int(e.Data1), int(e.Data2))
|
wnd.Backend.SetBounds(0, 0, int(fbw), int(fbh))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue