Commits

Anonymous committed ef8a247

Fixed pixelarray example.

Comments (0)

Files changed (1)

examples/pixelarray.py

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