Attempt to simplify text positioning
This commit is contained in:
@@ -90,7 +90,7 @@ tryAssignHotkey w sc = fromMaybe w $ do
|
||||
guard (pt == InitialPress)
|
||||
cr <- w ^? cWorld . lWorld . creatures . ix 0
|
||||
itid <- cr ^? crManipulation . manObject . inInventory . ispItem
|
||||
return $ assignHotkey itid (scancodeToHotkey sc) w
|
||||
return $ w & cWorld . lWorld . creatures . ix 0 %~ assignHotkey itid (scancodeToHotkey sc)
|
||||
|
||||
-- | Turn key presses into creature movement.
|
||||
-- | note the order of operation, setting the posture first--this prevents the twist fire bug
|
||||
|
||||
Reference in New Issue
Block a user