mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Force connection popup boolean should decay.
This commit is contained in:
parent
5b29e65bc5
commit
70818b49b9
@ -124,7 +124,7 @@ View::View( const char* addr, int port, ImFont* fixedWidth, ImFont* smallFont, I
|
||||
: m_worker( addr, port )
|
||||
, m_staticView( false )
|
||||
, m_pause( false )
|
||||
, m_forceConnectionPopup( true )
|
||||
, m_forceConnectionPopup( true, true )
|
||||
, m_frames( nullptr )
|
||||
, m_messagesScrollBottom( true )
|
||||
, m_smallFont( smallFont )
|
||||
@ -518,7 +518,7 @@ bool View::DrawImpl()
|
||||
{
|
||||
if( m_forceConnectionPopup )
|
||||
{
|
||||
m_forceConnectionPopup = false;
|
||||
m_forceConnectionPopup.Decay( false );
|
||||
ImGui::SetNextWindowPos( viewport->Pos + ImGui::GetCursorPos() );
|
||||
}
|
||||
ImGui::OpenPopup( "TracyConnectionPopup" );
|
||||
|
@ -297,7 +297,7 @@ private:
|
||||
std::string m_filename;
|
||||
bool m_staticView;
|
||||
bool m_pause;
|
||||
bool m_forceConnectionPopup = false;
|
||||
DecayValue<bool> m_forceConnectionPopup = false;
|
||||
|
||||
ViewData m_vd;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user