From 1eeadc000ae796bd022879196c4f2bae3bb189de Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 25 Jun 2014 23:21:57 -0400 Subject: Made the new sizing system work on Windows. --- progressbar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progressbar.go') diff --git a/progressbar.go b/progressbar.go index c2cd289..e7c7149 100644 --- a/progressbar.go +++ b/progressbar.go @@ -71,7 +71,7 @@ func (p *ProgressBar) preferredSize(d *sysSizeData) (width int, height int) { } func (p *ProgressBar) commitResize(a *allocation, d *sysSizeData) { - p.sysData.preferredSize(a, d) + p.sysData.commitResize(a, d) } func (p *ProgressBar) getAuxResizeInfo(d *sysSizeData) { -- cgit v1.2.3