Changeset 433:8cd9828828c0


Ignore:
Timestamp:
Sep 7, 2013, 11:53:26 AM (7 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
rebase_source:
f6b913154120ce2fedda485a71657f0ce7b30c28
Message:

PEP8

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • nagslang/level.py

    r431 r433  
    240240            return self._surface
    241241        if self._base_surface is None:
    242             self._base_surface = tile_surface((self.x, self.y), self._tile_image)
     242            self._base_surface = tile_surface((self.x, self.y),
     243                                              self._tile_image)
    243244        self._surface = self._base_surface.copy()
    244245        return self._surface
  • tools/area_editor.py

    r432 r433  
    486486            zoomed_surface = pygame.transform.scale(
    487487                level_surface,
    488                (int(level_surface.get_width() / self._zoom_factor),
    489                 int(level_surface.get_height() / self._zoom_factor)))
     488                (int(level_surface.get_width() / self._zoom_factor),
     489                 int(level_surface.get_height() / self._zoom_factor)))
    490490        surface.blit(zoomed_surface, (0, 0), surface_area)
    491491
Note: See TracChangeset for help on using the changeset viewer.