Skip to content

Commit

Permalink
regen
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarshall committed Nov 22, 2019
1 parent 04e1797 commit 55a893d
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 12 deletions.
12 changes: 9 additions & 3 deletions docs/app/js/sanddance-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -83048,7 +83048,11 @@ const markStager = (options, stage, scene, x, y, groupType) => {
};

function convertAngle(vegaTextAngle) {
return 360 - vegaTextAngle;
if (vegaTextAngle && !isNaN(vegaTextAngle)) {
return 360 - vegaTextAngle;
}

return 0;
}

function convertAlignment(textAlign) {
Expand All @@ -83062,6 +83066,8 @@ function convertAlignment(textAlign) {
case 'right':
return 'end';
}

return 'start';
}

function convertBaseline(baseline) {
Expand All @@ -83070,7 +83076,7 @@ function convertBaseline(baseline) {
return 'center';
}

return baseline;
return baseline || 'bottom';
}

var _default = markStager;
Expand Down Expand Up @@ -90888,7 +90894,7 @@ Object.defineProperty(exports, "__esModule", {
exports.version = void 0;
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
const version = '1.6.6';
const version = '1.6.7';
exports.version = version;
},{}],"tCOI":[function(require,module,exports) {
"use strict";
Expand Down
12 changes: 9 additions & 3 deletions docs/dist/sanddance-explorer/v1/sanddance-explorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8575,7 +8575,11 @@ const markStager = (options, stage, scene, x, y, groupType) => {
};

function convertAngle(vegaTextAngle) {
return 360 - vegaTextAngle;
if (vegaTextAngle && !isNaN(vegaTextAngle)) {
return 360 - vegaTextAngle;
}

return 0;
}

function convertAlignment(textAlign) {
Expand All @@ -8589,6 +8593,8 @@ function convertAlignment(textAlign) {
case 'right':
return 'end';
}

return 'start';
}

function convertBaseline(baseline) {
Expand All @@ -8597,7 +8603,7 @@ function convertBaseline(baseline) {
return 'center';
}

return baseline;
return baseline || 'bottom';
}

var _default = markStager;
Expand Down Expand Up @@ -16415,7 +16421,7 @@ Object.defineProperty(exports, "__esModule", {
exports.version = void 0;
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
const version = '1.6.6';
const version = '1.6.7';
exports.version = version;
},{}],"rZaE":[function(require,module,exports) {
"use strict";
Expand Down
10 changes: 7 additions & 3 deletions docs/dist/sanddance/v1/sanddance.js
Original file line number Diff line number Diff line change
Expand Up @@ -6864,20 +6864,24 @@ void main(void) {
});
};
function convertAngle(vegaTextAngle) {
return 360 - vegaTextAngle;
if (vegaTextAngle && !isNaN(vegaTextAngle)) {
return 360 - vegaTextAngle;
}
return 0;
}
function convertAlignment(textAlign) {
switch (textAlign) {
case 'center': return 'middle';
case 'left': return 'start';
case 'right': return 'end';
}
return 'start';
}
function convertBaseline(baseline) {
switch (baseline) {
case 'middle': return 'center';
}
return baseline;
return baseline || 'bottom';
}

var GroupType;
Expand Down Expand Up @@ -12762,7 +12766,7 @@ void main(void) {

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
const version = '1.6.6';
const version = '1.6.7';

// Copyright (c) Microsoft Corporation. All rights reserved.

Expand Down
12 changes: 9 additions & 3 deletions docs/tests/es6/js/sanddance.js
Original file line number Diff line number Diff line change
Expand Up @@ -143922,7 +143922,11 @@ const markStager = (options, stage, scene, x, y, groupType) => {
};

function convertAngle(vegaTextAngle) {
return 360 - vegaTextAngle;
if (vegaTextAngle && !isNaN(vegaTextAngle)) {
return 360 - vegaTextAngle;
}

return 0;
}

function convertAlignment(textAlign) {
Expand All @@ -143936,6 +143940,8 @@ function convertAlignment(textAlign) {
case 'right':
return 'end';
}

return 'start';
}

function convertBaseline(baseline) {
Expand All @@ -143944,7 +143950,7 @@ function convertBaseline(baseline) {
return 'center';
}

return baseline;
return baseline || 'bottom';
}

var _default = markStager;
Expand Down Expand Up @@ -151762,7 +151768,7 @@ Object.defineProperty(exports, "__esModule", {
exports.version = void 0;
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
const version = '1.6.6';
const version = '1.6.7';
exports.version = version;
},{}],"vUvc":[function(require,module,exports) {
"use strict";
Expand Down

0 comments on commit 55a893d

Please sign in to comment.