mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
examples/keyboard: Minor typo fix (#1436)
This commit is contained in:
parent
146357c298
commit
3d5733f693
@ -26,7 +26,7 @@ import (
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
"github.com/hajimehoshi/ebiten/v2/ebitenutil"
|
||||
"github.com/hajimehoshi/ebiten/v2/examples/keyboard/keyboard"
|
||||
rkeyabord "github.com/hajimehoshi/ebiten/v2/examples/resources/images/keyboard"
|
||||
rkeyboard "github.com/hajimehoshi/ebiten/v2/examples/resources/images/keyboard"
|
||||
)
|
||||
|
||||
const (
|
||||
@ -37,7 +37,7 @@ const (
|
||||
var keyboardImage *ebiten.Image
|
||||
|
||||
func init() {
|
||||
img, _, err := image.Decode(bytes.NewReader(rkeyabord.Keyboard_png))
|
||||
img, _, err := image.Decode(bytes.NewReader(rkeyboard.Keyboard_png))
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user