Cleanup. Probable leak when inventory is large enough for scrolling

This commit is contained in:
2025-01-01 23:35:36 +00:00
parent adc0878a28
commit 3b60ad6023
9 changed files with 50 additions and 139 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ drawDragSelecting cfig w = do
drawSubInventory :: SubInventory -> Configuration -> World -> Picture
drawSubInventory subinv cfig w = case subinv of
LockedInventory -> mempty -- topInvCursor col cursPos cfig w
-- LockedInventory -> mempty -- topInvCursor col cursPos cfig w
NoSubInventory{} -> drawRBOptions cfig w
ExamineInventory -> drawExamineInventory cfig w
DisplayTerminal tid -> drawTerminalDisplay tid cfig (w ^. cWorld . lWorld)
+3 -3
View File
@@ -1,6 +1,6 @@
module Dodge.Render.HUD.Carte
( drawCarte
) where
module Dodge.Render.HUD.Carte (
drawCarte,
) where
import Control.Lens
import Dodge.Base