mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2025-02-16 17:02:42 +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…
x
Reference in New Issue
Block a user