Force view redraw when center pos changes
Updates minimap when turning camera
This commit is contained in:
parent
66e941e1d5
commit
7c46cfa7dd
@ -291,6 +291,7 @@ class WorldView(QGLWidget):
|
||||
# delta = self.viewCenter() - self.centerPoint
|
||||
# self.centerPoint = pos - delta
|
||||
self.centerPoint = pos
|
||||
self.update()
|
||||
|
||||
def viewCenter(self):
|
||||
"""Return the world position at the center of the view."""
|
||||
|
Reference in New Issue
Block a user