ux: force using 4 * RenderScaling as resize border size on Windows

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-05-12 17:57:49 +08:00
parent 641098ffb2
commit af9cf6ba6a
No known key found for this signature in database
5 changed files with 104 additions and 0 deletions

View file

@ -5,6 +5,7 @@ using System.IO;
using System.Runtime.Versioning;
using Avalonia;
using Avalonia.Controls;
namespace SourceGit.Native
{
@ -16,6 +17,11 @@ namespace SourceGit.Native
builder.With(new X11PlatformOptions() { EnableIme = true });
}
public void SetupWindow(Window window)
{
// Do Nothing.
}
public string FindGitExecutable()
{
return FindExecutable("git");