Add depth clear/check to fixed layer pictures
This commit is contained in:
@@ -74,6 +74,7 @@ drawMouseCursor :: Universe -> Picture
|
||||
drawMouseCursor u =
|
||||
uncurryV translate (u ^. uvWorld . input . mousePos)
|
||||
. color white
|
||||
. setDepth 1
|
||||
$ mouseCursorType u
|
||||
|
||||
mouseCursorType :: Universe -> Picture
|
||||
|
||||
Reference in New Issue
Block a user