Revert "Set DoubleBuffering to reduce flicker"

This reverts commit 106259f6e6.
This commit is contained in:
Seth Hillbrand 2020-07-13 20:19:11 -07:00
parent e19a7910f8
commit 7f991ce855
4 changed files with 0 additions and 6 deletions

View File

@ -197,8 +197,6 @@ void SCH_DRAW_PANEL::OnShow()
if( frame )
frame->ActivateGalCanvas();
}
m_parent->SetDoubleBuffered( true );
}

View File

@ -87,8 +87,6 @@ SCH_PREVIEW_PANEL::~SCH_PREVIEW_PANEL()
void SCH_PREVIEW_PANEL::OnShow()
{
m_parent->SetDoubleBuffered( true );
//m_view->RecacheAllItems();
}

View File

@ -100,7 +100,6 @@ void GERBVIEW_DRAW_PANEL_GAL::OnShow()
if( frame )
{
m_parent->SetDoubleBuffered( true );
SetTopLayer( frame->GetActiveLayer() );
auto& displ_opts = frame->GetDisplayOptions();
static_cast<KIGFX::GERBVIEW_RENDER_SETTINGS*>(

View File

@ -416,7 +416,6 @@ void PCB_DRAW_PANEL_GAL::OnShow()
if( frame )
{
m_parent->SetDoubleBuffered( true );
SetTopLayer( frame->GetActiveLayer() );
KIGFX::PAINTER* painter = m_view->GetPainter();
auto settings = static_cast<KIGFX::PCB_RENDER_SETTINGS*>( painter->GetSettings() );