mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Small changes
This commit is contained in:
@@ -11,6 +11,11 @@ namespace VRCX
|
||||
{
|
||||
public void OnBeforeContextMenu(IWebBrowser browserControl, IBrowser browser, IFrame frame, IContextMenuParams parameters, IMenuModel model)
|
||||
{
|
||||
if (!browser.IsSame(MainForm.Instance.Browser?.GetBrowser()))
|
||||
{
|
||||
// allow devtools
|
||||
return;
|
||||
}
|
||||
// remove default right click when not in debug mode
|
||||
if (!Program.LaunchDebug &&
|
||||
!parameters.TypeFlags.HasFlag(ContextMenuType.Selection) &&
|
||||
|
||||
Reference in New Issue
Block a user