Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
#3 get_center should correspond to "visibleBounds"
Browse files Browse the repository at this point in the history
  • Loading branch information
Ran Ben Aharon committed Mar 10, 2015
1 parent ab67a88 commit e5bf32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magneto/magneto.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def __init__(self, device, selector):
super(MagnetoDeviceObject, self).__init__(device, selector)

def center(self):
return get_center(self.info['bounds'])
return get_center(self.info['visibleBounds'])

def child(self, **kwargs):
"""set childSelector."""
Expand Down

0 comments on commit e5bf32c

Please sign in to comment.