gloss-raster 1.12.0.0 → 1.13.0.1
raw patch · 2 files changed
+14/−9 lines, 2 filesdep ~glossdep ~gloss-renderingPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: gloss, gloss-rendering
API changes (from Hackage documentation)
- Graphics.Gloss.Raster.Array: data Display :: *
+ Graphics.Gloss.Raster.Array: data Display
- Graphics.Gloss.Raster.Field: data Display :: *
+ Graphics.Gloss.Raster.Field: data Display
Files
- Graphics/Gloss/Raster/Field.hs +11/−6
- gloss-raster.cabal +3/−3
Graphics/Gloss/Raster/Field.hs view
@@ -153,12 +153,17 @@ else do (winSizeX, winSizeY) <- sizeOfDisplay display winSizeX `seq` winSizeY `seq` play display black stepRate- initWorld- (\world ->- world `seq`- makePicture winSizeX winSizeY zoomX zoomY (makePixel world))- handleEvent- stepWorld+ ((winSizeX, winSizeY), initWorld)+ (\((winSizeX', winSizeY'), world) ->+ winSizeX' `seq` winSizeY' `seq` world `seq`+ makePicture winSizeX' winSizeY' zoomX zoomY (makePixel world))+ (\event (winSize, world) ->+ let winSize' =+ case event of+ EventResize dims -> dims+ _ -> winSize+ in (winSize', handleEvent event world))+ (fmap . stepWorld) {-# INLINE playField #-}
gloss-raster.cabal view
@@ -1,5 +1,5 @@ Name: gloss-raster-Version: 1.12.0.0+Version: 1.13.0.1 License: MIT License-file: LICENSE Author: Ben Lippmeier@@ -36,8 +36,8 @@ base >= 4.8 && < 4.12 , containers == 0.5.* , ghc-prim- , gloss == 1.12.*- , gloss-rendering == 1.12.*+ , gloss == 1.13.*+ , gloss-rendering == 1.13.* , repa == 3.4.* ghc-options: