mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
Fixed an incorrect text debug overlay color in SliderComponent.
This commit is contained in:
parent
b83db7d33e
commit
960f6e56be
|
@ -82,11 +82,11 @@ void SliderComponent::render(const glm::mat4& parentTrans)
|
|||
Renderer::setMatrix(trans);
|
||||
|
||||
if (Settings::getInstance()->getBool("DebugText")) {
|
||||
Renderer::drawRect(mSize.x - mTextCache->metrics.size.x, 0.0f, mTextCache->metrics.size.x,
|
||||
mSize.y, 0x0000FF33, 0x0000FF33);
|
||||
Renderer::drawRect(
|
||||
mSize.x - mTextCache->metrics.size.x, (mSize.y - mTextCache->metrics.size.y) / 2.0f,
|
||||
mTextCache->metrics.size.x, mTextCache->metrics.size.y, 0x0000FF33, 0x0000FF33);
|
||||
Renderer::drawRect(mSize.x - mTextCache->metrics.size.x, 0.0f, mTextCache->metrics.size.x,
|
||||
mSize.y, 0x00000033, 0x00000033);
|
||||
}
|
||||
|
||||
float width{mSize.x - mKnob.getSize().x -
|
||||
|
|
Loading…
Reference in a new issue