mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 03:59:19 +02:00
refactor(editor): named overlay colours
This commit is contained in:
@@ -1358,7 +1358,7 @@ void editor_mode::draw_infra_overlay() const
|
||||
drawlist->AddCircleFilled(screen, Size, Colour);
|
||||
};
|
||||
for (auto const &binding : m_bindings)
|
||||
draw(binding, binding.lost ? IM_COL32(255, 60, 60, 255) : IM_COL32(90, 230, 110, 220), 3.5f);
|
||||
draw(binding, binding.lost ? overlay_color::invalid : IM_COL32(90, 230, 110, 220), 3.5f);
|
||||
for (int i = 0; i < static_cast<int>(state.candidates.size()); ++i)
|
||||
{
|
||||
auto const &candidate{state.candidates[i]};
|
||||
|
||||
Reference in New Issue
Block a user