Don't wait for mouse-move to update screen.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19771
This commit is contained in:
Jeff Young
2025-01-29 11:23:56 +00:00
parent fb87ea6837
commit 3078d82bd5
+4
View File
@@ -574,6 +574,8 @@ int PCB_CONTROL::LayerAlphaInc( const TOOL_EVENT& aEvent )
if( IsCopperLayer( currentLayer ) )
view->UpdateLayerColor( ZONE_LAYER_FOR( currentLayer ) );
m_frame->GetCanvas()->ForceRefresh();
}
else
{
@@ -602,6 +604,8 @@ int PCB_CONTROL::LayerAlphaDec( const TOOL_EVENT& aEvent )
if( IsCopperLayer( currentLayer ) )
view->UpdateLayerColor( ZONE_LAYER_FOR( currentLayer ) );
m_frame->GetCanvas()->ForceRefresh();
}
else
{