| 4689 | } |
| 4690 | |
| 4691 | bool IGFD::FileDialog::WasOpenedThisFrame(const std::string& vKey) const { |
| 4692 | bool res = m_FileDialogInternal.showDialog && m_FileDialogInternal.dLGkey == vKey; |
| 4693 | if (res) { |
| 4694 | res &= m_FileDialogInternal.lastImGuiFrameCount == GImGui->FrameCount; // return true if a dialog was displayed in this frame |
| 4695 | } |
| 4696 | return res; |
| 4697 | } |
| 4698 | |
| 4699 | bool IGFD::FileDialog::WasOpenedThisFrame() const { |
| 4700 | bool res = m_FileDialogInternal.showDialog; |
no outgoing calls
no test coverage detected