Comparing version 0.29.0 to 0.29.1
@@ -0,1 +1,13 @@ | ||
## 0.29.1 (May 19, 2019) | ||
### Bug fixes | ||
- #201: the popover button was not responsive | ||
- #195: (partial fix) improve support for Edge (still requires Babelization) | ||
- Fixed an issue while dragging to select across elements of different depths | ||
- Fixed issue with smartMode for expressions including "x^2", "xyz" and "\pi" | ||
- Fixed an issue with styling, where the Latex output could sometimes include the non-existent `\mathup` command. The correct command is `\upshape` | ||
- Fixed issues with enclose layout | ||
- Avoid triggering spurious notifications while inserting an inline shortcut | ||
## 0.29 (May 9, 2019) | ||
@@ -2,0 +14,0 @@ |
@@ -136,5 +136,4 @@ /** | ||
suffix = '}'; | ||
} else if (atoms[0].fontShape === 'n' && | ||
!(atoms[0].fontSeries === 'b' || atoms[0].fontFamily === 'cmr')) { | ||
prefix = '\\mathup{'; | ||
} else if (atoms[0].fontShape === 'n') { | ||
prefix = '{\\upshape '; | ||
suffix = '}'; | ||
@@ -141,0 +140,0 @@ } else if (atoms[0].fontShape && atoms[0].fontShape !== 'n') { |
@@ -484,3 +484,3 @@ /** | ||
result += 'height:' + (this.height + this.depth) + 'em;'; | ||
result += 'transform:translateY(' + Math.round(- FontMetrics.toPx(this.depth, 'em') + 2 * FontMetrics.toPx(this.style.padding)) + 'px);'; | ||
result += 'transform:translateY(-' + Math.round(FontMetrics.toPx(this.depth, 'em') + FontMetrics.toPx(this.style.padding)) + 'px);'; | ||
if (this.style && this.style.padding) { | ||
@@ -487,0 +487,0 @@ result += 'top:' + this.style.padding + ';'; |
@@ -398,4 +398,4 @@ | ||
'<div class="ML__popover__prev-shortcut" role="button" aria-label="Previous suggestion"><span><span>▲</span></span></div>' : ''; | ||
template += '<span class="ML__popover__content">'; | ||
template += '<div class="ML__popover__command" role="button" >' + | ||
template += '<span class="ML__popover__content" role="button">'; | ||
template += '<div class="ML__popover__command">' + | ||
command_markup + '</div>'; | ||
@@ -414,3 +414,3 @@ if (command_note) { | ||
let el = mf.popover.getElementsByClassName('ML__popover_content'); | ||
let el = mf.popover.getElementsByClassName('ML__popover__content'); | ||
if (el && el.length > 0) { | ||
@@ -417,0 +417,0 @@ mf._attachButtonHandlers(el[0], ['complete', {acceptSuggestion:true}]); |
{ | ||
"name": "mathlive", | ||
"version": "0.29.0", | ||
"version": "0.29.1", | ||
"description": "Render and edit beautifully typeset math", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -136,5 +136,4 @@ /** | ||
suffix = '}'; | ||
} else if (atoms[0].fontShape === 'n' && | ||
!(atoms[0].fontSeries === 'b' || atoms[0].fontFamily === 'cmr')) { | ||
prefix = '\\mathup{'; | ||
} else if (atoms[0].fontShape === 'n') { | ||
prefix = '{\\upshape '; | ||
suffix = '}'; | ||
@@ -141,0 +140,0 @@ } else if (atoms[0].fontShape && atoms[0].fontShape !== 'n') { |
@@ -484,3 +484,3 @@ /** | ||
result += 'height:' + (this.height + this.depth) + 'em;'; | ||
result += 'transform:translateY(' + Math.round(- FontMetrics.toPx(this.depth, 'em') + 2 * FontMetrics.toPx(this.style.padding)) + 'px);'; | ||
result += 'transform:translateY(-' + Math.round(FontMetrics.toPx(this.depth, 'em') + FontMetrics.toPx(this.style.padding)) + 'px);'; | ||
if (this.style && this.style.padding) { | ||
@@ -487,0 +487,0 @@ result += 'top:' + this.style.padding + ';'; |
@@ -398,4 +398,4 @@ | ||
'<div class="ML__popover__prev-shortcut" role="button" aria-label="Previous suggestion"><span><span>▲</span></span></div>' : ''; | ||
template += '<span class="ML__popover__content">'; | ||
template += '<div class="ML__popover__command" role="button" >' + | ||
template += '<span class="ML__popover__content" role="button">'; | ||
template += '<div class="ML__popover__command">' + | ||
command_markup + '</div>'; | ||
@@ -414,3 +414,3 @@ if (command_note) { | ||
let el = mf.popover.getElementsByClassName('ML__popover_content'); | ||
let el = mf.popover.getElementsByClassName('ML__popover__content'); | ||
if (el && el.length > 0) { | ||
@@ -417,0 +417,0 @@ mf._attachButtonHandlers(el[0], ['complete', {acceptSuggestion:true}]); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57891
4076518