Skip to content

Commit

Permalink
lint: Remove unnecessary GoLand noinspection comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Aug 14, 2024
1 parent acc0462 commit ac9a913
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion internal/console/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ func (c *Console) Update() error {
}

func (c *Console) Draw(screen *ebiten.Image) {
//goland:noinspection GoBoolExpressions
if c.willScreenshot && runtime.GOOS != "js" {
c.willScreenshot = false
if err := c.writeScreenshot(screen); err != nil {
Expand Down
1 change: 0 additions & 1 deletion internal/console/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ func (c *Console) CheckInput() {
}
}

//goland:noinspection GoBoolExpressions
if inpututil.IsKeyJustPressed(ebiten.Key(c.config.Input.Screenshot)) && runtime.GOOS != "js" {
c.willScreenshot = true
}
Expand Down

0 comments on commit ac9a913

Please sign in to comment.