Make tab.CurView public

This commit is contained in:
Zachary Yedidia
2016-11-28 20:50:11 -05:00
parent 5481a834bf
commit 400ac56651
5 changed files with 23 additions and 23 deletions

View File

@@ -440,7 +440,7 @@ func main() {
// is the one being clicked in
for _, v := range tabs[curTab].views {
if x >= v.x && x < v.x+v.Width && y >= v.y && y < v.y+v.Height {
tabs[curTab].curView = v.Num
tabs[curTab].CurView = v.Num
}
}
}