Fix final issues with longpress. Update all files to use correct encoding and ran through CodeMaid.

This commit is contained in:
ahjephson
2025-10-20 14:54:31 +01:00
parent 1f606b4449
commit 7db4f2f78d
55 changed files with 82 additions and 87 deletions

View File

@@ -59,4 +59,4 @@
<MudField Label="Total queued size">@DisplayHelpers.Size(ServerState?.TotalQueuedSize)</MudField>
</MudItem>
</MudGrid>
</MudContainer>
</MudContainer>

View File

@@ -1,7 +1,7 @@
@page "/"
@layout ListLayout
<MudMenu @ref="ContextMenu" Dense="true" RelativeWidth="DropdownWidth.Ignore" PositionAtCursor="true">
<MudMenu @ref="ContextMenu" Dense="true" RelativeWidth="DropdownWidth.Ignore" PositionAtCursor="true" ListClass="unselectable" PopoverClass="unselectable">
<MudMenuItem Icon="@Icons.Material.Outlined.Info" IconColor="Color.Inherit" OnClick="ShowTorrentContextMenu">View torrent details</MudMenuItem>
<MudDivider />
<TorrentActions RenderType="RenderType.MenuItems" Hashes="GetContextMenuTargetHashes()" PrimaryHash="@(ContextMenuItem?.Hash)" Torrents="MainData.Torrents" Preferences="Preferences" />

View File

@@ -79,6 +79,7 @@ namespace Lantean.QBTMud.Pages
private bool _pendingSelectionChange;
private bool _toolbarButtonsEnabled;
protected override async Task OnAfterRenderAsync(bool firstRender)
{
if (firstRender)
@@ -337,5 +338,4 @@ namespace Lantean.QBTMud.Pages
}
}
}
}
}