Skip to content

Commit

Permalink
fixed linux
Browse files Browse the repository at this point in the history
  • Loading branch information
nem0 committed Jul 14, 2024
1 parent 014636e commit 2d046d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/editor/scene_view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ struct WorldViewImpl final : WorldView {
m_editor.selectEntities(Span(&entity, 1), ImGui::GetIO().KeyCtrl);
}
} else {
m_editor.selectEntities(Span((const EntityRef*)nullptr, (u32)0), false);
m_editor.selectEntities(Span((const EntityRef*)nullptr, (u64)0), false);
}
}
}
Expand Down Expand Up @@ -1255,7 +1255,7 @@ void SceneView::handleEvents() {
case os::Event::Type::KEY: {
if (handle_input) {
if (event.key.down && event.key.keycode == os::Keycode::ESCAPE) {
m_editor.selectEntities(Span((const EntityRef*)nullptr, (u32)0), false);
m_editor.selectEntities(Span((const EntityRef*)nullptr, (u64)0), false);
}
}
break;
Expand Down

0 comments on commit 2d046d6

Please sign in to comment.