mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2024-11-22 00:47:00 +00:00
fix intem->item (#184)
This commit is contained in:
parent
8df98e075c
commit
d40fa4f6db
@ -1748,7 +1748,7 @@ beginPopup :: MonadIO m => Text -> m Bool
|
||||
beginPopup popupId = liftIO do
|
||||
Text.withCString popupId Raw.beginPopup
|
||||
|
||||
-- | Append intems to a non-modal Popup.
|
||||
-- | Append items to a non-modal Popup.
|
||||
--
|
||||
-- Non-modal popups can be closed by clicking anywhere outside them,
|
||||
-- or by pressing ESCAPE.
|
||||
@ -1759,7 +1759,7 @@ beginPopup popupId = liftIO do
|
||||
withPopup :: MonadUnliftIO m => Text -> (Bool -> m a) -> m a
|
||||
withPopup popupId = bracket (beginPopup popupId) (`when` Raw.endPopup)
|
||||
|
||||
-- | Append intems to a non-modal Popup.
|
||||
-- | Append items to a non-modal Popup.
|
||||
--
|
||||
-- Non-modal popups can be closed by clicking anywhere outside them,
|
||||
-- or by pressing ESCAPE.
|
||||
@ -1778,7 +1778,7 @@ beginPopupModal :: MonadIO m => Text -> m Bool
|
||||
beginPopupModal popupId = liftIO do
|
||||
Text.withCString popupId Raw.beginPopupModal
|
||||
|
||||
-- | Append intems to a modal Popup.
|
||||
-- | Append items to a modal Popup.
|
||||
--
|
||||
-- Modal popups can be closed only with 'closeCurrentPopup'.
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user