diff options
Diffstat (limited to 'tools/seq_compiler.cc')
| -rw-r--r-- | tools/seq_compiler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/seq_compiler.cc b/tools/seq_compiler.cc index 7ac921f..b61e895 100644 --- a/tools/seq_compiler.cc +++ b/tools/seq_compiler.cc @@ -87,7 +87,7 @@ void generate_gantt_chart(const std::string& output_file, // Draw sequences and effects for (const auto& seq : sequences) { float seq_start = std::stof(seq.start_time); - float seq_end = max_time; // Default: runs until end + float seq_end = seq_start; // Start at sequence start // Check if sequence has explicit end time if (seq.end_time != "-1.0") { @@ -250,7 +250,7 @@ void generate_gantt_html(const std::string& output_file, int y_offset = margin_top; for (const auto& seq : sequences) { float seq_start = std::stof(seq.start_time); - float seq_end = max_time; + float seq_end = seq_start; // Start at sequence start if (seq.end_time != "-1.0") { seq_end = seq_start + std::stof(seq.end_time); |
