Fix documentation of colorButton

This commit is contained in:
Oliver Charles 2021-01-25 09:11:56 +00:00
parent 4586f30eb2
commit c41eae7817

View File

@ -393,7 +393,7 @@ colorPicker3 desc ref = liftIO do
-- | Display a color square/button, hover for details, return true when pressed. -- | Display a color square/button, hover for details, return true when pressed.
-- --
-- | Wraps @ImGui::ColorButton()@. -- Wraps @ImGui::ColorButton()@.
colorButton :: (MonadIO m, HasSetter ref ImVec4, HasGetter ref ImVec4) => String -> ref -> m Bool colorButton :: (MonadIO m, HasSetter ref ImVec4, HasGetter ref ImVec4) => String -> ref -> m Bool
colorButton desc ref = liftIO do colorButton desc ref = liftIO do
currentValue <- get ref currentValue <- get ref