Skip to content

Commit

Permalink
Merge pull request #549 from scenerygraphics/fixKeyBindingsEditor
Browse files Browse the repository at this point in the history
InputHandler: fixing key bindings editor
  • Loading branch information
ctrueden committed Jun 14, 2023
2 parents 32afd64 + 52b2ed0 commit b607fd0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/main/kotlin/graphics/scenery/controls/InputHandler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,7 @@ class InputHandler(scene: Scene, renderer: Renderer, override var hub: Hub?, for
* are written to a file with a given [filename] in the user's home directory.
*/
@JvmOverloads fun openKeybindingsGuiEditor(editorTitle: String = "scenery's Key bindings editor", filename: String, context: String = "all"): VisualEditorPanel {
//setup content for the Visual Editor
// TODO: Figure out where this class went
//val cdb = CommandDescriptionProvider()
//behaviourMap.keys().forEach { b -> cdb.addCommand(b, context, "") }
//val editorPanel = VisualEditorPanel(config, cdb.get())
val editorPanel = VisualEditorPanel(config, null)
val editorPanel = VisualEditorPanel(config)

//show the Editor
val frame = JFrame(editorTitle)
Expand Down

0 comments on commit b607fd0

Please sign in to comment.