Small changes

This commit is contained in:
Natsumi
2025-09-13 09:54:22 +12:00
parent e4962cc180
commit aeabb5181d
5 changed files with 25 additions and 15 deletions

View File

@@ -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) &&

View File

@@ -4,7 +4,7 @@ const https = require('https');
const { spawnSync } = require('child_process');
const { getArchAndPlatform } = require('./utils');
const DOTNET_VERSION = '9.0.8';
const DOTNET_VERSION = '9.0.9';
const DOTNET_RUNTIME_DIR = path.join(
__dirname,
'..',

View File

@@ -585,24 +585,24 @@ img.friends-list-avatar {
// height: 180px;
// }
.x-dialog > .el-dialog {
max-width: 100%;
}
// .x-dialog {
// max-width: 100%;
// }
.x-user-dialog > .el-dialog > .el-dialog__header,
.x-world-dialog > .el-dialog > .el-dialog__header,
.x-avatar-dialog > .el-dialog > .el-dialog__header,
.x-group-dialog > .el-dialog > .el-dialog__header {
.x-user-dialog > .el-dialog__header,
.x-world-dialog > .el-dialog__header,
.x-avatar-dialog > .el-dialog__header,
.x-group-dialog > .el-dialog__header {
display: none;
padding: 0;
}
.x-user-dialog > .el-dialog > .el-dialog__body,
.x-world-dialog > .el-dialog > .el-dialog__body,
.x-avatar-dialog > .el-dialog > .el-dialog__body,
.x-group-dialog > .el-dialog > .el-dialog__body {
padding: 20px;
}
// .x-user-dialog > .el-dialog__body,
// .x-world-dialog > .el-dialog__body,
// .x-avatar-dialog > .el-dialog__body,
// .x-group-dialog > .el-dialog__body {
// padding: 20px;
// }
// .el-popper.hex {
// min-width: auto;
@@ -812,7 +812,6 @@ i.x-status-icon.red {
// }
.avatar-info {
margin-top: 2px;
cursor: pointer;
width: fit-content;
vertical-align: top;

View File

@@ -1,4 +1,6 @@
import { reactive } from 'vue';
import dayjs from 'dayjs';
import * as utils from '../shared/utils';
const AppDebug = reactive({
debug: false,
@@ -17,5 +19,7 @@ const AppDebug = reactive({
});
window.$debug = AppDebug;
window.utils = utils;
window.dayjs = dayjs;
export { AppDebug };

View File

@@ -20,6 +20,8 @@ declare global {
AssetBundleManager: AssetBundleManager;
webApiService: webApiService;
request: any;
utils: any;
dayjs: any;
configRepository: any;
datebase: any;
gameLogService: any;