Pin conflicts map adjustments for MSW.
This commit is contained in:
parent
375fdb7a49
commit
7d84d323a6
|
@ -82,6 +82,8 @@ void PANEL_SETUP_PINMAP::reBuildMatrixPanel()
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
bitmapSize += { 4, 2 };
|
bitmapSize += { 4, 2 };
|
||||||
|
#else
|
||||||
|
bitmapSize += { 2, 1 };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if( !m_initialized )
|
if( !m_initialized )
|
||||||
|
@ -151,7 +153,7 @@ void PANEL_SETUP_PINMAP::reBuildMatrixPanel()
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
btn->SetSize( btn->GetSize().x - 1, btn->GetSize().y );
|
btn->SetSize( btn->GetSize().x - 1, btn->GetSize().y );
|
||||||
#else
|
#else
|
||||||
btn->SetSize( btn->GetSize().x + 4, btn->GetSize().y );
|
btn->SetSize( btn->GetSize().x + 1, btn->GetSize().y );
|
||||||
#endif
|
#endif
|
||||||
m_buttonList[ii][jj] = btn;
|
m_buttonList[ii][jj] = btn;
|
||||||
setDRCMatrixButtonState( m_buttonList[ii][jj], diag );
|
setDRCMatrixButtonState( m_buttonList[ii][jj], diag );
|
||||||
|
|
Loading…
Reference in New Issue