context menu fixes
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user