Partial fix of inventory rendering
This commit is contained in:
@@ -46,9 +46,9 @@ fixedCoordPictures w = case _menuLayers w of
|
||||
|
||||
customMouseCursor :: World -> Picture
|
||||
customMouseCursor w =
|
||||
setDepth (-1)
|
||||
. scale (2 /getWindowX w) (2/ getWindowY w)
|
||||
scale (2 /getWindowX w) (2/ getWindowY w)
|
||||
. uncurry translate (_mousePos w)
|
||||
. color white
|
||||
$ pictures [ line [(-5,0),(5,0)] , line [(0,-5),(0,5)] ]
|
||||
|
||||
testPic :: World -> [Picture]
|
||||
|
||||
Reference in New Issue
Block a user