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 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. 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 @@ + +