mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-09-23 15:34:37 +00:00
Fix MenusController.cs
This commit is contained in:
@@ -112,13 +112,13 @@ namespace ElectronNET.WebApp.Controllers
|
||||
new MenuItem { Label = "Electron.NET", Type = MenuType.checkbox, Checked = true }
|
||||
};
|
||||
|
||||
/*var mainWindow = Electron.WindowManager.BrowserWindows.First();
|
||||
var mainWindow = Electron.WindowManager.BrowserWindows.First();
|
||||
Electron.Menu.SetContextMenu(mainWindow, menu);
|
||||
|
||||
Electron.IpcMain.On("show-context-menu", (args) =>
|
||||
{
|
||||
Electron.Menu.ContextMenuPopup(mainWindow);
|
||||
});*/
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user