From 1fc95b041d0de8be8a82f000a863251a539ca780 Mon Sep 17 00:00:00 2001 From: James Vaughan Date: Wed, 1 Apr 2026 17:19:06 -0400 Subject: [PATCH] Scale Editing Text In the current implementation the size of the text for the parameter currently being editing is always at 100%. This patch changes that by scaling the size of the text to match the rest of the cavas. --- src/XTMF2.GUI/Controls/ModelSystemCanvas.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/XTMF2.GUI/Controls/ModelSystemCanvas.cs b/src/XTMF2.GUI/Controls/ModelSystemCanvas.cs index d1297f7..e4865b3 100644 --- a/src/XTMF2.GUI/Controls/ModelSystemCanvas.cs +++ b/src/XTMF2.GUI/Controls/ModelSystemCanvas.cs @@ -441,6 +441,7 @@ protected override Size ArrangeOverride(Size finalSize) // Position the inline editor at the stored row location (scaled to screen coords). if (_editingParamNode is not null && _editingParamEditorW > 0) { + _inlineEditor.FontSize = HookFontSize * _scale; _inlineEditor.Arrange(new Rect( _editingParamEditorX * _scale, _editingParamEditorY * _scale,