Skip to content

Commit b57cc2d

Browse files
committed
Fix precision
1 parent 60e70b5 commit b57cc2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/devextreme/build/gulp/vectormap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function collectShpFiles(dir) {
4343
gulp.task('vectormap-data', gulp.series('vectormap-utils', function generateData() {
4444
const parse = require(path.join('../..', VECTORMAP_UTILS_RESULT_PATH, 'dx.vectormaputils.debug.js')).parse;
4545
const settings = require(path.join('../..', VECTORMAP_SOURCES_PATH, '_settings.js'));
46-
const precision = settings.precision ? Math.round(settings.precision) : 4;
46+
const precision = settings.precision >= 0 ? Math.round(settings.precision) : 4;
4747

4848
if(!fs.existsSync(VECTORMAP_DATA_RESULT_PATH)) {
4949
fs.mkdirSync(VECTORMAP_DATA_RESULT_PATH);

0 commit comments

Comments
 (0)