[TD]fix integer grid step variable to double
This commit is contained in:
committed by
WandererFan
parent
64ddcc68fc
commit
273d7f8bd6
@@ -506,7 +506,7 @@ void ViewProviderPage::setGrid(void)
|
||||
}
|
||||
int pageWidth = 298;
|
||||
int pageHeight = 215;
|
||||
int gridStep = GridSpacing.getValue() > 0 ? GridSpacing.getValue() : 10;
|
||||
double gridStep = GridSpacing.getValue() > 0 ? GridSpacing.getValue() : 10.0;
|
||||
if (dp) {
|
||||
pageWidth = dp->getPageWidth();
|
||||
pageHeight = dp->getPageHeight();
|
||||
|
||||
Reference in New Issue
Block a user