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:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user