Ignore:
Timestamp:
09/07/13 12:14:41 (8 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Phase:
public
Rebase:
62323730613034303338383165383435346664616636613230343039626132336131346431323137
Message:

Round level coordinates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/area_editor.py

    r433 r435  
    411411        # Apply zoom_factor
    412412        zoomed = (pos[0] * self._zoom_factor, pos[1] * self._zoom_factor)
    413         return zoomed[0] + self.pos[0], zoomed[1] + self.pos[1]
     413        return int(zoomed[0] + self.pos[0]), int(zoomed[1] + self.pos[1])
    414414
    415415    def _move_view(self, offset):
Note: See TracChangeset for help on using the changeset viewer.