Commit 0bee058f authored by Kevin Balz's avatar Kevin Balz
Browse files

static cast

parent ccede621
Pipeline #3298 passed with stage
in 4 minutes and 59 seconds
......@@ -70,7 +70,7 @@ namespace phase_shifter::ui {
//auto beats = std::clamp(beat_state.beats_left, 0, 5);
ImGui::BeginChild("Line", {viewport.z, bar_height}, true);
ImDrawList* drawList = ImGui::GetWindowDrawList();
while (beat_index < beats.size()) {
while (beat_index < static_cast<int>(beats.size())) {
auto x_offset = (beats[beat_index] - _passed) * bar_speed;
auto height = beat_bar_height * (1.f - glm::smoothstep(0.f, beat_bar_length, x_offset));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment