From 054c2c5972e591ee47d616813efd5bc01ae99907 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 21:23:09 +0000 Subject: [PATCH 1/4] Update Avalonia to 12.2.0 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01SyVio82xpSPNuyKJKTaSBs --- Directory.Packages.props | 14 +++++++------- docs/EDITOR.md | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index a0e3e59..824fb70 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -7,13 +7,13 @@ 14.4.0.100 - - - - - - - + + + + + + + diff --git a/docs/EDITOR.md b/docs/EDITOR.md index f7db33f..aff7d44 100644 --- a/docs/EDITOR.md +++ b/docs/EDITOR.md @@ -131,7 +131,7 @@ has the tools of the equations of Word: the structures and symbols to insert, th the number of the equation, undo, copy in every format, examples, and the equation as MathML, UnicodeMath, LaTeX and OMML as it is typed; a test opens it. Editing and Rendering have no dependency on a user interface (they target netstandard2.0 and net10.0, with no package, as the core), so that they are tested without -a toolkit and could serve another one; only `SharpEquations.Avalonia` depends on Avalonia (12.1). Each is a project of +a toolkit and could serve another one; only `SharpEquations.Avalonia` depends on Avalonia (12.2). Each is a project of its own in this repository; `samples/SharpEquations.Avalonia.Demo` is a window with the editor and the equation in every format, and `tests/SharpEquations.Avalonia.Tests` tests the three. From c1a406f342c35548bf28e5984c55577519edac8c Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 21:24:10 +0000 Subject: [PATCH 2/4] Bump version prefix to 1.2.0 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01SyVio82xpSPNuyKJKTaSBs --- BuildVersion.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BuildVersion.props b/BuildVersion.props index 81d4215..4151940 100644 --- a/BuildVersion.props +++ b/BuildVersion.props @@ -2,7 +2,7 @@ - 1.1.2 + 1.2.0 From d8fe590ff4ba1ce5dbbee2e15f0e3847bc11c284 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 21:45:16 +0000 Subject: [PATCH 3/4] Draw the editor background on its rounded frame in the demos The MathEditBox painted a square background inside the clipped Border, covering the rounded border at the corners. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01SyVio82xpSPNuyKJKTaSBs --- samples/SharpEquations.Avalonia.Demo/DemoView.cs | 2 +- .../Views/MathToolsView.axaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/samples/SharpEquations.Avalonia.Demo/DemoView.cs b/samples/SharpEquations.Avalonia.Demo/DemoView.cs index f592c1d..5dbc99a 100644 --- a/samples/SharpEquations.Avalonia.Demo/DemoView.cs +++ b/samples/SharpEquations.Avalonia.Demo/DemoView.cs @@ -122,7 +122,6 @@ public DemoView() Padding = new Thickness(22, 18), BorderThickness = 0, }; - editor.Bind(MathEditBox.BackgroundProperty, editor.GetResourceObservable("EditorBrush")); preview = new MathView { FontSize = 22, HorizontalAlignment = HorizontalAlignment.Center }; outputs = new (string, Func, TextBox)[] { @@ -286,6 +285,7 @@ private Border EditorCard() Child = editor, }; editorFrame.Bind(Border.BorderBrushProperty, editorFrame.GetResourceObservable("EditorBorderBrush")); + editorFrame.Bind(Border.BackgroundProperty, editorFrame.GetResourceObservable("EditorBrush")); var hint = new TextBlock { diff --git a/samples/SharpEquations.Avalonia.MathTools.Demo/Views/MathToolsView.axaml b/samples/SharpEquations.Avalonia.MathTools.Demo/Views/MathToolsView.axaml index a36f70f..a333c55 100644 --- a/samples/SharpEquations.Avalonia.MathTools.Demo/Views/MathToolsView.axaml +++ b/samples/SharpEquations.Avalonia.MathTools.Demo/Views/MathToolsView.axaml @@ -103,10 +103,11 @@ + +