X backend now follows API
This commit is contained in:
parent
0f8affd2b2
commit
d31aee1ba8
@ -257,7 +257,7 @@ func (window *Window) redrawChildEntirely () {
|
||||
|
||||
func (window *Window) resizeChildToFit () {
|
||||
window.skipChildDrawCallback = true
|
||||
window.child.DrawTo(window.canvas)
|
||||
window.child.DrawTo(window.canvas, window.canvas.Bounds())
|
||||
window.skipChildDrawCallback = false
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user