mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-07-04 08:36:45 +02:00
entt update to v3.11.1
This commit is contained in:
@ -157,7 +157,7 @@ namespace MM::Services {
|
||||
if (_show_time_delta_ctx) {
|
||||
if (ImGui::Begin("Scene TimeDelta Context", &_show_time_delta_ctx)) {
|
||||
if (scene.ctx().contains<MM::Components::TimeDelta>()) {
|
||||
auto& td = scene.ctx().at<MM::Components::TimeDelta>();
|
||||
auto& td = scene.ctx().get<MM::Components::TimeDelta>();
|
||||
ImGui::Value("tickDelta", td.tickDelta);
|
||||
ImGui::SliderFloat("deltaFactor", &td.deltaFactor, 0.f, 10.f, "%.5f", ImGuiSliderFlags_Logarithmic);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user