Skip to content

Commit

Permalink
Исправлена ошибка в компоненте выбора цвета
Browse files Browse the repository at this point in the history
Подсмотрено у omp
  • Loading branch information
tsmp committed Feb 12, 2023
1 parent 6975f6a commit cb78105
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ void UIPropertiesItem::DrawProp()

node->BeforeEdit<ColorValue, Fcolor>(edit_val);
float a = edit_val.a;
float color[3] = { edit_val.r, edit_val.b, edit_val.b };
float color[3] = { edit_val.r, edit_val.g, edit_val.b };

if (ImGui::ColorEdit3("##value", color))
{
Expand Down

0 comments on commit cb78105

Please sign in to comment.