1. pygame
  2. Untitled project
  3. pygame

Commits

marcus  committed ef8a247

Fixed pixelarray example.

  • Participants
  • Parent commits 5125fa1
  • Branches default

Comments (0)

Files changed (1)

File examples/pixelarray.py

View file
     event = pygame.event.wait ()
     if event.type == QUIT:
         break
-    if event.type == MOUSEDOWN:
+    if event.type == MOUSEBUTTONDOWN:
 
         # Create  the PixelArray
         ar = pygame.PixelArray (screen)