mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-22 08:13:52 +02:00
migrate to wpf
This commit is contained in:
@@ -67,9 +67,9 @@ speechSynthesis.getVoices();
|
||||
|
||||
document.addEventListener('keyup', function (e) {
|
||||
if (e.ctrlKey) {
|
||||
if (e.shiftKey && e.code === 'KeyI') {
|
||||
if (e.key === 'I') {
|
||||
AppApi.ShowDevTools();
|
||||
} else if (e.code === 'KeyR') {
|
||||
} else if (e.key === 'r') {
|
||||
location.reload();
|
||||
}
|
||||
}
|
||||
@@ -3455,6 +3455,18 @@ speechSynthesis.getVoices();
|
||||
}
|
||||
};
|
||||
|
||||
$app.methods.minimizeWindow = function () {
|
||||
AppApi.MinimizeMainWindow();
|
||||
};
|
||||
|
||||
$app.methods.toggleMaximizeWindow = function () {
|
||||
AppApi.ToggleMaximizeMainWindow();
|
||||
};
|
||||
|
||||
$app.methods.closeWindow = function () {
|
||||
AppApi.CloseMainWindow();
|
||||
};
|
||||
|
||||
$app.methods.openExternalLink = function (link) {
|
||||
this.$confirm(`${link}`, 'Open External Link', {
|
||||
confirmButtonText: 'Confirm',
|
||||
|
||||
Reference in New Issue
Block a user