From c41eae781779bb6f4af4fcdc252e441f000c874d Mon Sep 17 00:00:00 2001 From: Oliver Charles Date: Mon, 25 Jan 2021 09:11:56 +0000 Subject: [PATCH] Fix documentation of colorButton --- src/DearImGui.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DearImGui.hs b/src/DearImGui.hs index b71fe37..bae700f 100644 --- a/src/DearImGui.hs +++ b/src/DearImGui.hs @@ -393,7 +393,7 @@ colorPicker3 desc ref = liftIO do -- | 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 desc ref = liftIO do currentValue <- get ref