Skip to content

Commit

Permalink
style: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMarble committed Jan 25, 2022
1 parent 1b679b4 commit 19075a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/zmk-layout-viewer/layout-viewer.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func createContext(layout *keyboard.Layout) *gg.Context {

log.Debug().Int("Image Width", imageW).Int("Image Height", imageH).Send()

return gg.NewContext(int(imageW), imageH)
return gg.NewContext(imageW, imageH)
}

func drawLayer(layer *keymap.Layer, layout *keyboard.Layout, output string, transparent bool) error {
Expand Down

0 comments on commit 19075a8

Please sign in to comment.