Merge pull request #586 from tabatkins/patch-1

Misspelled variable "candiate"
This commit is contained in:
Kevin Barabash 2016-12-16 18:25:32 -05:00 committed by GitHub
commit 3900936f63

View File

@ -463,11 +463,11 @@ groupTypes.genfrac = function(group, options) {
var frac;
if (ruleWidth === 0) {
// Rule 15c
var candiateClearance =
var candidateClearance =
(numShift - numer.depth) - (denom.height - denomShift);
if (candiateClearance < clearance) {
numShift += 0.5 * (clearance - candiateClearance);
denomShift += 0.5 * (clearance - candiateClearance);
if (candidateClearance < clearance) {
numShift += 0.5 * (clearance - candidateClearance);
denomShift += 0.5 * (clearance - candidateClearance);
}
frac = buildCommon.makeVList([