Fix queue progress calc type
This commit is contained in:
parent
1eb2d11ccd
commit
320f522d85
|
|
@ -90,7 +90,7 @@ func (r *stripedProgressRenderer) Layout(size fyne.Size) {
|
|||
r.bg.Resize(size)
|
||||
r.bg.Move(fyne.NewPos(0, 0))
|
||||
|
||||
fillWidth := size.Width * r.bar.progress
|
||||
fillWidth := size.Width * float32(r.bar.progress)
|
||||
fillSize := fyne.NewSize(fillWidth, size.Height)
|
||||
|
||||
r.fill.Resize(fillSize)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user