UI icon refactoring stuff

minor refactoring

add mouseover in main ui

fix icon font issues

fix uploads/downloads icon alignment

fix code dupe

use fixed width icon handle, update deps

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
This commit is contained in:
Loporrit
2025-02-18 10:38:41 +00:00
parent 9bf36765e4
commit d48dcaf555
28 changed files with 504 additions and 545 deletions

View File

@@ -190,7 +190,7 @@ public class DownloadUi : WindowMediatorSubscriberBase
try
{
if (_configService.Current.ShowUploadingBigText) _uiShared.UidFont.Push();
using var _ = _uiShared.UidFont.Push();
var uploadText = "Uploading";
var textSize = ImGui.CalcTextSize(uploadText);
@@ -205,10 +205,6 @@ public class DownloadUi : WindowMediatorSubscriberBase
{
// ignore errors thrown on UI
}
finally
{
if (_configService.Current.ShowUploadingBigText) _uiShared.UidFont.Pop();
}
}
}
}