Refactor concurrent side effects
This commit is contained in:
@@ -26,14 +26,9 @@ fixedCoordPictures u =
|
||||
cfig = _uvConfig u
|
||||
|
||||
drawConcurrentMessage :: Universe -> Picture
|
||||
drawConcurrentMessage u = case u ^. uvConcEffects of
|
||||
BlockingConcEffect str -> fillWidthText cfig str
|
||||
--listPicturesAt
|
||||
--(halfWidth cfig)
|
||||
--(halfHeight cfig)
|
||||
--cfig
|
||||
--[centerText str]
|
||||
BackgroundConcEffect str ->
|
||||
drawConcurrentMessage u = case u ^? uvSideEffects . _head of
|
||||
--Just (BlockingConcEffect str) -> fillWidthText cfig str
|
||||
Just (RunningSideEffect str) ->
|
||||
listPicturesAt
|
||||
(halfWidth cfig)
|
||||
(_windowY cfig - 50)
|
||||
|
||||
Reference in New Issue
Block a user