eeschema: fixed:
* crash when creating a sheet that does not yet have a sch file * when loading schematic file v 1 annotations are applied to all sheets independent of path in hierarchy * component reference is drawn by default upon placing a new libary comp.
This commit is contained in:
@@ -62,6 +62,7 @@ static inline int USCALE( us arg, us num, us den )
|
||||
|
||||
static int inline ZoomValue( int value_to_zoom ) {
|
||||
int zoom = GET_ZOOM;
|
||||
if( !zoom ) return 0;
|
||||
|
||||
if( value_to_zoom >= 0 )
|
||||
return ( value_to_zoom + (zoom >> 1 ) ) / zoom;
|
||||
|
||||
Reference in New Issue
Block a user