mirror of
https://github.com/Stone-Red-Code/DesktopMagic.git
synced 2026-09-04 08:56:15 +02:00
- Remove unnecessary code
- Improve startup performance
This commit is contained in:
@@ -636,10 +636,9 @@ namespace DesktopMagic
|
||||
foreach (char c in chars)
|
||||
{
|
||||
textBlock.Text = "";
|
||||
for (int i = 0; i < 100; i++)
|
||||
{
|
||||
textBlock.Text += c.ToString();
|
||||
}
|
||||
|
||||
textBlock.Text += c.ToString();
|
||||
|
||||
textBlock.UpdateLayout();
|
||||
|
||||
if (charWidth != textBlock.ActualWidth && charWidth != -1)
|
||||
|
||||
Reference in New Issue
Block a user