mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2024-12-22 20:56:36 +00:00
Fix documentation of colorButton
This commit is contained in:
parent
4586f30eb2
commit
c41eae7817
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user