mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2024-11-22 08:56:59 +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.
|
-- | 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
|
||||||
|
Loading…
Reference in New Issue
Block a user