mirror of
https://github.com/jroimartin/gocui.git
synced 2025-04-24 13:48:51 +08:00
Remove empty line
This commit is contained in:
parent
e18bedd405
commit
7e8dafc560
1
gui.go
1
gui.go
@ -194,7 +194,6 @@ func (g *Gui) View(name string) (*View, error) {
|
|||||||
// ViewByPosition returns a pointer to a view matching the given position, or
|
// ViewByPosition returns a pointer to a view matching the given position, or
|
||||||
// error ErrUnknownView if a view in that position does not exist.
|
// error ErrUnknownView if a view in that position does not exist.
|
||||||
func (g *Gui) ViewByPosition(x, y int) (*View, error) {
|
func (g *Gui) ViewByPosition(x, y int) (*View, error) {
|
||||||
|
|
||||||
// traverse views in reverse order checking top views first
|
// traverse views in reverse order checking top views first
|
||||||
for i := len(g.views); i > 0; i-- {
|
for i := len(g.views); i > 0; i-- {
|
||||||
v := g.views[i-1]
|
v := g.views[i-1]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user