Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 36f6ade87a |
@@ -580,6 +580,11 @@ void EditorGUI::createWidgetToolButton(WidgetMode mode)
|
|||||||
|
|
||||||
bool EditorGUI::OnKeyDown(const Events::KeyDown& e)
|
bool EditorGUI::OnKeyDown(const Events::KeyDown& e)
|
||||||
{
|
{
|
||||||
|
ImGuiIO& io = ImGui::GetIO();
|
||||||
|
if (io.WantCaptureKeyboard) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (e.ModCtrl && e.KeyCode == GLFW_KEY_S) {
|
if (e.ModCtrl && e.KeyCode == GLFW_KEY_S) {
|
||||||
if (m_CurrentSelection.Valid()) {
|
if (m_CurrentSelection.Valid()) {
|
||||||
EntityWrapper baseParent = m_CurrentSelection;
|
EntityWrapper baseParent = m_CurrentSelection;
|
||||||
|
|||||||
Reference in New Issue
Block a user