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

@@ -205,8 +205,8 @@ public class SkiaRenderingEngine : IDisposable
// Draw popup overlays (always on top, full redraw)
SkiaView.DrawPopupOverlays(_canvas);
// Draw modal dialogs on top of everything
if (LinuxDialogService.HasActiveDialog)
// Draw modal dialogs and context menus on top of everything
if (LinuxDialogService.HasActiveDialog || LinuxDialogService.HasContextMenu)
{
LinuxDialogService.DrawDialogs(_canvas, new SKRect(0, 0, Width, Height));
}