|
50 | 50 |
|
51 | 51 | ### Resolved Issues |
52 | 52 |
|
53 | | -- Fixed click positioning in multiline environments. When clicking in a multiline |
54 | | - environment (such as `\displaylines`, `gather`, `align`, etc.), the caret is |
55 | | - now correctly positioned on the line that is closest to the click point |
56 | | - vertically, rather than selecting atoms from other lines based on overall |
57 | | - Euclidean distance. For example, when clicking horizontally below an atom on |
58 | | - line 1 but vertically at the level of line 2, the caret will now be positioned |
59 | | - on line 2 instead of incorrectly jumping to line 1. This fix ensures that |
60 | | - clicking in multiline content respects the visual line structure, making |
61 | | - editing more intuitive and predictable. |
| 53 | +- Fixed click positioning in multiline environments. When clicking in a |
| 54 | + multiline environment (such as `\displaylines`, `gather`, `align`, etc.), the |
| 55 | + caret is now correctly positioned on the line that is closest to the click |
| 56 | + point vertically, rather than selecting atoms from other lines based on |
| 57 | + overall Euclidean distance. For example, when clicking horizontally below an |
| 58 | + atom on line 1 but vertically at the level of line 2, the caret will now be |
| 59 | + positioned on line 2 instead of incorrectly jumping to line 1. This fix |
| 60 | + ensures that clicking in multiline content respects the visual line structure, |
| 61 | + making editing more intuitive and predictable. |
62 | 62 | - Fixed MathML serialization for multiline mathfields. Previously, serializing |
63 | 63 | multiline mathfields (such as `\displaylines{\\ }`) to MathML would result in |
64 | 64 | invalid MathML with syntax errors and console warnings. The fix corrects a |
|
243 | 243 | `\mathtt`) are now correctly preserved when exporting to the `latex-expanded` |
244 | 244 | format. Previously, these commands were being stripped from the output, |
245 | 245 | causing `\mathrm{d}` to be serialized as just `d`. |
| 246 | +- **#2832**, **#2727** Fixed rendering of `\cancel`, `\bcancel`, `\xcancel`, and |
| 247 | + other SVG-based enclosure notations (diagonal strikes, horizontal/vertical |
| 248 | + strikes, etc.). In v0.106.0+, these notations became completely invisible due |
| 249 | + to SVG elements having 0 width in their viewBox. Additionally, when visible, |
| 250 | + the positioning of strike lines was incorrect, particularly for complex |
| 251 | + expressions and fractions. The fix restores proper width calculations and |
| 252 | + implements symmetric padding for notation boxes, using em-based coordinates |
| 253 | + with small margins for accurate line positioning. Strike lines now properly |
| 254 | + cover content from corner to corner without extending too far or appearing |
| 255 | + offset. |
246 | 256 | - **#2847** Fixed scroll behavior in fixed-height mathfield containers. When |
247 | 257 | navigating with arrow keys or Tab/Shift+Tab to move between placeholders, the |
248 | 258 | container now properly scrolls to keep the cursor or selection visible. |
|
0 commit comments