Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

Error when run sample on web #171

@jeenhyung

Description

@jeenhyung

[OSX 10.10.5]
when i run gxui sample project on web.
but, I get this error:

github.com/google/gxui/drivers/gl/keyboard_translate.go:141:7: duplicate case glfw.KeyEnd (constant -1 of type github.com/goxjs/glfw.Key) in expression switch
github.com/google/gxui/drivers/gl/keyboard_translate.go:113:7: previous case
github.com/google/gxui/drivers/gl/keyboard_translate.go:145:7: duplicate case glfw.KeyScrollLock (constant -1 of type github.com/goxjs/glfw.Key) in expression switch
github.com/google/gxui/drivers/gl/keyboard_translate.go:113:7: previous case
github.com/google/gxui/drivers/gl/keyboard_translate.go:147:7: duplicate case glfw.KeyNumLock (constant -1 of type github.com/goxjs/glfw.Key) in expression switch
github.com/google/gxui/drivers/gl/keyboard_translate.go:113:7: previous case
github.com/google/gxui/drivers/gl/keyboard_translate.go:149:7: duplicate case glfw.KeyPrintScreen (constant -1 of type github.com/goxjs/glfw.Key) in expression switch
github.com/google/gxui/drivers/gl/keyboard_translate.go:113:7: previous case
github.com/google/gxui/drivers/gl/keyboard_translate.go:151:7: duplicate case glfw.KeyPause (constant -1 of type github.com/goxjs/glfw.Key) in expression switch
github.com/google/gxui/drivers/gl/keyboard_translate.go:113:7: previous case
github.com/google/gxui/drivers/gl/keyboard_translate.go:113:7: too many errors

Help plz fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions