mirror of
https://github.com/gizak/termui.git
synced 2025-05-04 22:17:46 +08:00
fix whitespace
This commit is contained in:
parent
b2b2d384f4
commit
5279aa6c9d
@ -49,7 +49,7 @@ func main() {
|
||||
defer ui.Close()
|
||||
|
||||
img := widgets.NewImage(nil)
|
||||
img.SetRect(0, 0, 100, 50)
|
||||
img.SetRect(0, 0, 100, 50)
|
||||
index := 0
|
||||
render := func() {
|
||||
img.Image = images[index]
|
||||
|
@ -63,9 +63,9 @@ type Image struct {
|
||||
|
||||
func NewImage(img image.Image) *Image {
|
||||
return &Image{
|
||||
Block: *NewBlock(),
|
||||
MonochromeThreshold: 128,
|
||||
Image: img,
|
||||
Block: *NewBlock(),
|
||||
MonochromeThreshold: 128,
|
||||
Image: img,
|
||||
visibleSubImagePixels: image.Rectangle{},
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user