1
0
mirror of https://github.com/gizak/termui.git synced 2025-05-04 22:17:46 +08:00

fix whitespace

This commit is contained in:
Simon Lehn 2019-04-20 15:34:43 +02:00
parent b2b2d384f4
commit 5279aa6c9d
2 changed files with 4 additions and 4 deletions

View File

@ -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]

View File

@ -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{},
}
}