started abstracting the UI

This commit is contained in:
lewd-alt
2025-09-18 08:43:54 -07:00
parent 459e9d04a6
commit 7f0489b214
23 changed files with 428 additions and 903192 deletions

View File

@@ -276,7 +276,7 @@ namespace _2DGAMELIB
}
if (EditF || EditTS)
{
Font = new Font(font.FontFamily, (float)(us * fontSize * Med.DpiY));
Font = new Font(font.FontFamily, (float)(us * fontSize));
EditF = false;
EditTS = false;
}
@@ -303,7 +303,7 @@ namespace _2DGAMELIB
double num = Unit * base.Size;
if (EditF || EditS || EditPS || EditTS)
{
Font = new Font(font.FontFamily, (float)(num * fontSize * Med.DpiY));
Font = new Font(font.FontFamily, (float)(num * fontSize));
EditF = false;
EditTS = false;
}