mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 17:27:52 -06:00
FIX: press key R and T cannot close gizmo window (STUDIO-1980)
https://jira.bambooolab.com/browse/STUDIO-1980 Change-Id: Iaebe4674cf3b14dde4e7ee1a9b123b5a36d2c693
This commit is contained in:
parent
289a3d1d53
commit
aba824bbb9
1 changed files with 3 additions and 5 deletions
|
@ -1017,8 +1017,6 @@ bool GLGizmosManager::on_char(wxKeyEvent& evt)
|
|||
break;
|
||||
}
|
||||
//skip some keys when gizmo
|
||||
case 'r':
|
||||
case 'R':
|
||||
case 'A':
|
||||
case 'a':
|
||||
{
|
||||
|
@ -1088,9 +1086,9 @@ bool GLGizmosManager::on_char(wxKeyEvent& evt)
|
|||
// BBS: Skip all keys when in gizmo. This is necessary for 3D text tool.
|
||||
default:
|
||||
{
|
||||
if (is_running() && m_current == EType::Text) {
|
||||
processed = true;
|
||||
}
|
||||
//if (is_running() && m_current == EType::Text) {
|
||||
// processed = true;
|
||||
//}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue