SPE-2218 - libvgcode - Fixed color of wipe moves for speed range view

This commit is contained in:
enricoturri1966 2024-04-10 12:47:42 +02:00 committed by Lukas Matena
parent 473f58c4e6
commit 87e1341e6f

View File

@ -1425,7 +1425,7 @@ Color ViewerImpl::get_vertex_color(const PathVertex& v) const
if (v.type == EMoveType::Noop)
return DUMMY_COLOR;
if ((v.is_wipe() && m_settings.view_type != EViewType::ActualSpeed) || v.is_option())
if ((v.is_wipe() && (m_settings.view_type != EViewType::Speed && m_settings.view_type != EViewType::ActualSpeed)) || v.is_option())
return get_option_color(move_type_to_option(v.type));
switch (m_settings.view_type)