Fixed button click state not resetting bug #398
|
@ -323,7 +323,7 @@ namespace SHADE
|
|||
//SHLOG_INFO("SETTING HOVERED TEXTURE")
|
||||
}
|
||||
}
|
||||
if (textureID != 0)
|
||||
if (textureID != 0 && comp.currentTexture != textureID)
|
||||
{
|
||||
auto material = renderable->GetModifiableMaterial();
|
||||
comp.currentTexture = textureID;
|
||||
|
|
Loading…
Reference in New Issue