Fixed wrong text selection color

dev
Tomasz Kapuściński 2023-08-15 20:32:33 +02:00
parent 261eaa78e4
commit 7fe75e20ad
1 changed files with 1 additions and 0 deletions

View File

@ -1271,6 +1271,7 @@ void CEdit::DrawBack(const glm::vec2& pos, const glm::vec2& dim)
void CEdit::DrawHorizontalGradient(const glm::vec2& pos, const glm::vec2& dim, Gfx::Color color1, Gfx::Color color2)
{
auto renderer = m_engine->GetUIRenderer();
renderer->SetTexture({});
renderer->SetTransparency(Gfx::TransparencyMode::NONE);
glm::vec2 p1, p2;