mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-05 14:26:06 +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)
|
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
|
// remove default right click when not in debug mode
|
||||||
if (!Program.LaunchDebug &&
|
if (!Program.LaunchDebug &&
|
||||||
!parameters.TypeFlags.HasFlag(ContextMenuType.Selection) &&
|
!parameters.TypeFlags.HasFlag(ContextMenuType.Selection) &&
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ const https = require('https');
|
|||||||
const { spawnSync } = require('child_process');
|
const { spawnSync } = require('child_process');
|
||||||
const { getArchAndPlatform } = require('./utils');
|
const { getArchAndPlatform } = require('./utils');
|
||||||
|
|
||||||
const DOTNET_VERSION = '9.0.8';
|
const DOTNET_VERSION = '9.0.9';
|
||||||
const DOTNET_RUNTIME_DIR = path.join(
|
const DOTNET_RUNTIME_DIR = path.join(
|
||||||
__dirname,
|
__dirname,
|
||||||
'..',
|
'..',
|
||||||
|
|||||||
+13
-14
@@ -585,24 +585,24 @@ img.friends-list-avatar {
|
|||||||
// height: 180px;
|
// height: 180px;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
.x-dialog > .el-dialog {
|
// .x-dialog {
|
||||||
max-width: 100%;
|
// max-width: 100%;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.x-user-dialog > .el-dialog > .el-dialog__header,
|
.x-user-dialog > .el-dialog__header,
|
||||||
.x-world-dialog > .el-dialog > .el-dialog__header,
|
.x-world-dialog > .el-dialog__header,
|
||||||
.x-avatar-dialog > .el-dialog > .el-dialog__header,
|
.x-avatar-dialog > .el-dialog__header,
|
||||||
.x-group-dialog > .el-dialog > .el-dialog__header {
|
.x-group-dialog > .el-dialog__header {
|
||||||
display: none;
|
display: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.x-user-dialog > .el-dialog > .el-dialog__body,
|
// .x-user-dialog > .el-dialog__body,
|
||||||
.x-world-dialog > .el-dialog > .el-dialog__body,
|
// .x-world-dialog > .el-dialog__body,
|
||||||
.x-avatar-dialog > .el-dialog > .el-dialog__body,
|
// .x-avatar-dialog > .el-dialog__body,
|
||||||
.x-group-dialog > .el-dialog > .el-dialog__body {
|
// .x-group-dialog > .el-dialog__body {
|
||||||
padding: 20px;
|
// padding: 20px;
|
||||||
}
|
// }
|
||||||
|
|
||||||
// .el-popper.hex {
|
// .el-popper.hex {
|
||||||
// min-width: auto;
|
// min-width: auto;
|
||||||
@@ -812,7 +812,6 @@ i.x-status-icon.red {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
.avatar-info {
|
.avatar-info {
|
||||||
margin-top: 2px;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
import { reactive } from 'vue';
|
import { reactive } from 'vue';
|
||||||
|
import dayjs from 'dayjs';
|
||||||
|
import * as utils from '../shared/utils';
|
||||||
|
|
||||||
const AppDebug = reactive({
|
const AppDebug = reactive({
|
||||||
debug: false,
|
debug: false,
|
||||||
@@ -17,5 +19,7 @@ const AppDebug = reactive({
|
|||||||
});
|
});
|
||||||
|
|
||||||
window.$debug = AppDebug;
|
window.$debug = AppDebug;
|
||||||
|
window.utils = utils;
|
||||||
|
window.dayjs = dayjs;
|
||||||
|
|
||||||
export { AppDebug };
|
export { AppDebug };
|
||||||
|
|||||||
Vendored
+2
@@ -20,6 +20,8 @@ declare global {
|
|||||||
AssetBundleManager: AssetBundleManager;
|
AssetBundleManager: AssetBundleManager;
|
||||||
webApiService: webApiService;
|
webApiService: webApiService;
|
||||||
request: any;
|
request: any;
|
||||||
|
utils: any;
|
||||||
|
dayjs: any;
|
||||||
configRepository: any;
|
configRepository: any;
|
||||||
datebase: any;
|
datebase: any;
|
||||||
gameLogService: any;
|
gameLogService: any;
|
||||||
|
|||||||
Reference in New Issue
Block a user