Correctly update root status of item in _ilIsRoot
This commit is contained in:
@@ -25,7 +25,7 @@ yourSelectedItem w = do
|
||||
|
||||
yourRootItem :: World -> Maybe Item
|
||||
yourRootItem w = do
|
||||
i <- you w ^? crManipulation . manObject . imRootItem
|
||||
i <- you w ^? crManipulation . manObject . imRootSelectedItem
|
||||
_crInv (you w) IM.!? i
|
||||
|
||||
--yourScrollAttachment :: World -> Maybe (Int,ScrollAttachParams)
|
||||
|
||||
Reference in New Issue
Block a user