New feature: bring back gcode window as well as optimized the show/hide logic a bit

This commit is contained in:
SoftFever
2023-02-24 00:24:33 +08:00
parent 6191b4b6dd
commit 64f0c96283
3 changed files with 14 additions and 17 deletions

View File

@ -3079,10 +3079,8 @@ void GLCanvas3D::on_char(wxKeyEvent& evt)
}
//case 'B':
//case 'b': { zoom_to_bed(); break; }
#if !BBL_RELEASE_TO_PUBLIC
case 'C':
case 'c': { m_gcode_viewer.toggle_gcode_window_visibility(); m_dirty = true; request_extra_frame(); break; }
#endif
//case 'G':
//case 'g': {
// if ((evt.GetModifiers() & shiftMask) != 0) {