Keep owner in the center in mesh view
This commit is contained in:
parent
326126cbd7
commit
c16c07e954
@ -260,6 +260,9 @@ class MeshBox(hippo.CanvasBox):
|
||||
self._remove_buddy(buddy_model)
|
||||
|
||||
def _buddy_moved_cb(self, model, buddy_model, activity_model):
|
||||
# Owner doesn't move from the center
|
||||
if buddy_model.is_owner():
|
||||
return
|
||||
self._move_buddy(buddy_model, activity_model)
|
||||
|
||||
def _activity_added_cb(self, model, activity_model):
|
||||
|
Loading…
Reference in New Issue
Block a user