diff options
Diffstat (limited to 'src/game_tab/right_panel/editor/EditorCanvas.cpp')
| -rw-r--r-- | src/game_tab/right_panel/editor/EditorCanvas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game_tab/right_panel/editor/EditorCanvas.cpp b/src/game_tab/right_panel/editor/EditorCanvas.cpp index 870dd26..07a2f56 100644 --- a/src/game_tab/right_panel/editor/EditorCanvas.cpp +++ b/src/game_tab/right_panel/editor/EditorCanvas.cpp @@ -173,7 +173,7 @@ void EditorCanvas::SetMoves(HalfMove *moves, HalfMove *current) { } void EditorCanvas::OnKeyEvent(wxKeyEvent &event) { - if (event.GetKeyCode() == WXK_LEFT) { + /*if (event.GetKeyCode() == WXK_LEFT) { wxCommandEvent previousEvent(PREVIOUS_MOVE_EVENT, GetId()); previousEvent.SetEventObject(this); ProcessEvent(previousEvent); @@ -181,7 +181,7 @@ void EditorCanvas::OnKeyEvent(wxKeyEvent &event) { wxCommandEvent nextEvent(NEXT_MOVE_EVENT, GetId()); nextEvent.SetEventObject(this); ProcessEvent(nextEvent); - } + }*/ } wxBEGIN_EVENT_TABLE(EditorCanvas, wxPanel) EVT_PAINT(EditorCanvas::OnPaint) |
