MacOSX: Now Arcs are shown in edit mode
This commit is contained in:
parent
8289899df8
commit
3217bb59a7
|
@ -355,8 +355,9 @@ void GRSetColorPen( wxDC* DC, EDA_COLOR_T Color, int width, wxPenStyle style )
|
||||||
width = 0;
|
width = 0;
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
// Under OSX when wxPen is set to 0, cocoa follows the request drawing nothing
|
// Under OSX when wxPen is set to 0, cocoa follows the request drawing nothing &
|
||||||
if( width == 0)
|
// in the bitmap world the minimum is enough to light a pixel, in vectorial one not
|
||||||
|
if( width <= 1 )
|
||||||
width = DC->DeviceToLogicalXRel( 1 );
|
width = DC->DeviceToLogicalXRel( 1 );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue