Fixed incorrect picture position after changing the texture
parent
42516dba8a
commit
7566ccc8bd
|
@ -70,7 +70,6 @@ namespace tgui
|
|||
|
||||
m_fullyClickable = fullyClickable;
|
||||
m_sprite.setTexture(texture);
|
||||
m_sprite.setPosition(getPosition());
|
||||
m_sprite.setOpacity(m_opacityCached);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue