linted again

This commit is contained in:
nek0 2017-12-22 09:02:20 +01:00
parent 8104c636cd
commit 53f7a2af0e

View file

@ -48,8 +48,8 @@ pre = do
_ <- partSubscribe (subWindow subs) $ \msg -> case msg of _ <- partSubscribe (subWindow subs) $ \msg -> case msg of
MsgWindowResize _ _ (V2 w h) -> do MsgWindowResize _ _ (V2 w h) -> do
liftIO $ logIO A.Debug "Window has been resized" liftIO $ logIO A.Debug "Window has been resized"
let nw = floor $ (fromIntegral h * (800/600) :: Double) let nw = floor (fromIntegral h * (800/600) :: Double)
dw = floor $ ((fromIntegral w - fromIntegral nw) / 2 :: Double) dw = floor ((fromIntegral w - fromIntegral nw) / 2 :: Double)
GL.viewport $= (GL.Position dw 0, GL.Size nw h) GL.viewport $= (GL.Position dw 0, GL.Size nw h)
_ -> return () _ -> return ()
_ <- partSubscribe (subKeyboard subs) $ \kbdev -> _ <- partSubscribe (subKeyboard subs) $ \kbdev ->