Remove old layer code

This commit is contained in:
2022-04-10 10:32:55 +01:00
parent 2da4098d41
commit edd82fb3ac
17 changed files with 54 additions and 53 deletions
+1 -2
View File
@@ -5,7 +5,6 @@ module Dodge.Render.Picture
import Dodge.Data
--import Dodge.Base.Window
import Dodge.Base.WinScale
import Dodge.Picture.Layer
import Dodge.Render.HUD
import Dodge.Render.MenuScreen
import Geometry
@@ -17,7 +16,7 @@ fixedCoordPictures u = case _menuLayers u of
[ hudDrawings cfig w
, customMouseCursor cfig w
]
(lay:_) -> setDepth (-1) . winScale cfig . onLayer MenuDepth $ menuScreen u lay
(lay:_) -> setDepth (-1) . winScale cfig $ menuScreen u lay
where
w = _uvWorld u
cfig = _config u