context menu fixes

This commit is contained in:
2026-01-17 15:19:03 +00:00
parent 10a66cd399
commit 88679dfae8
5 changed files with 119 additions and 47 deletions

View File

@@ -253,8 +253,8 @@ public class GpuRenderingEngine : IDisposable
// Draw popup overlays
SkiaView.DrawPopupOverlays(_canvas);
// Draw modal dialogs
if (LinuxDialogService.HasActiveDialog)
// Draw modal dialogs and context menus
if (LinuxDialogService.HasActiveDialog || LinuxDialogService.HasContextMenu)
{
LinuxDialogService.DrawDialogs(_canvas, new SKRect(0, 0, Width, Height));
}