mirror of
https://github.com/edubart/otclient.git
synced 2025-11-04 20:46:24 +01:00
major UIWidget rewrite with new features
This commit is contained in:
@@ -91,7 +91,7 @@ void Particle::updatePosition(double elapsedTime)
|
||||
m_velocity += m_acceleration * elapsedTime;
|
||||
}
|
||||
|
||||
m_rect.moveTo((int)m_position.x - m_size.width() / 2, (int)m_position.y - m_size.height() / 2);
|
||||
m_rect.move((int)m_position.x - m_size.width() / 2, (int)m_position.y - m_size.height() / 2);
|
||||
}
|
||||
|
||||
void Particle::updateSize()
|
||||
|
||||
Reference in New Issue
Block a user