Skip to content

Commit

Permalink
Initialize mouseX and mouseY to -1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kavantix committed Dec 30, 2021
1 parent a25b7c3 commit a87bdf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui.go
Expand Up @@ -144,6 +144,7 @@ func NewGui(mode OutputMode, supportOverlaps bool) (*Gui, error) {
g.maxX, g.maxY = screen.Size()
}

g.mouseX, g.mouseY = -1, -1
g.BgColor, g.FgColor, g.FrameColor = ColorDefault, ColorDefault, ColorDefault
g.SelBgColor, g.SelFgColor, g.SelFrameColor = ColorDefault, ColorDefault, ColorDefault

Expand Down

0 comments on commit a87bdf2

Please sign in to comment.