mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-18 19:39:17 +00:00
Allow using higher resolution bitmaps in bitmap buttons on GTK.
This commit is contained in:
parent
72bd0c583f
commit
296630d484
@ -345,7 +345,7 @@ void BITMAP_BUTTON::OnPaint( wxPaintEvent& aEvent )
|
||||
}
|
||||
else if( bmp.IsOk() )
|
||||
{
|
||||
bmpImg = bmp.GetBitmap( m_unadjustedMinSize );
|
||||
bmpImg = bmp.GetBitmap( ToPhys( m_unadjustedMinSize ) );
|
||||
bmSize = bmpImg.GetSize();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user