some fixes look bugtracker

This commit is contained in:
Michael
2020-08-31 14:41:37 +02:00
parent 2aeef9c83e
commit 6c02e130b2
15 changed files with 40 additions and 7 deletions

View File

@@ -325,7 +325,7 @@ export default function (globalData: IGlobalData) {
input.show(); input.show();
input.getValue(name => { input.getValue(name => {
mp.events.callRemote("CLIENT:InteractionMenu_Invite", "Fraktion", name); mp.events.callRemote("CLIENT:InteractionMenu_Invite", "Fraktion", name);
parentMenu.Close(); factionMenu.Close();
globalData.InInput = false; globalData.InInput = false;
}); });
} else if (index === 1) { // Uninviten } else if (index === 1) { // Uninviten
@@ -334,7 +334,7 @@ export default function (globalData: IGlobalData) {
input.show(); input.show();
input.getValue(name => { input.getValue(name => {
mp.events.callRemote("CLIENT:InteractionMenu_Uninvite", "Fraktion", name); mp.events.callRemote("CLIENT:InteractionMenu_Uninvite", "Fraktion", name);
parentMenu.Close(); factionMenu.Close();
globalData.InInput = false; globalData.InInput = false;
}); });
} }

View File

@@ -1,4 +1,6 @@
export default function worldInteraction() { import { GlobalData } from "..";
export default function worldInteraction() {
var atmBrowser: BrowserMp; var atmBrowser: BrowserMp;
var inAtm = false; var inAtm = false;
@@ -10,6 +12,7 @@
mp.gui.chat.show(false); mp.gui.chat.show(false);
mp.game.ui.displayHud(false); mp.game.ui.displayHud(false);
mp.game.ui.displayRadar(false); mp.game.ui.displayRadar(false);
GlobalData.InInput = true;
atmBrowser = mp.browsers.new("package://assets/html/atm/index.html"); atmBrowser = mp.browsers.new("package://assets/html/atm/index.html");
} }
}); });
@@ -20,6 +23,7 @@
mp.game.ui.displayHud(true); mp.game.ui.displayHud(true);
mp.game.ui.displayRadar(true); mp.game.ui.displayRadar(true);
inAtm = false; inAtm = false;
GlobalData.InInput = false;
atmBrowser.destroy(); atmBrowser.destroy();
}); });

View File

@@ -16,6 +16,9 @@
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
} }
div {
user-select: none;
}
.atm { .atm {
background:#6d6d6d; background:#6d6d6d;

View File

@@ -3,6 +3,9 @@
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
overflow: hidden; overflow: hidden;
} }
div {
user-select: none;
}
.table { .table {
background-color: rgba(255, 255, 255, .8); background-color: rgba(255, 255, 255, .8);

View File

@@ -1,6 +1,7 @@
html { html {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
user-select: none;
} }
*, *::before, *::after { *, *::before, *::after {

View File

@@ -11,6 +11,9 @@
overflow: hidden; overflow: hidden;
overflow-y: scroll; overflow-y: scroll;
} }
div {
user-select: none;
}
#commandOpts li{ #commandOpts li{
cursor: pointer; cursor: pointer;

View File

@@ -1,5 +1,7 @@
html, body { html, body {
overflow: hidden; overflow: hidden;
user-select: none;
} }
#schein { #schein {
overflow: hidden; overflow: hidden;

View File

@@ -1,6 +1,8 @@
html { html {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
user-select: none;
} }
*, *::before, *::after { *, *::before, *::after {
@@ -8,6 +10,7 @@ html {
box-sizing: inherit; box-sizing: inherit;
} }
a { a {
color: inherit; color: inherit;
font-weight: bold; font-weight: bold;

View File

@@ -7,6 +7,9 @@
.save-page { .save-page {
margin: auto; margin: auto;
} }
div {
user-select: none;
}
.isa_info, .isa_success, .isa_warning, .isa_error { .isa_info, .isa_success, .isa_warning, .isa_error {
margin: 10px 0px; margin: 10px 0px;

View File

@@ -12,6 +12,9 @@ body {
right: 0; right: 0;
bottom: 0 bottom: 0
} }
div {
user-select: none;
}
h4 { h4 {
margin: 0 margin: 0

View File

@@ -15,6 +15,9 @@ body {
font-weight:400; font-weight:400;
line-height:3; line-height:3;
} }
div {
user-select: none;
}
span.arrow { span.arrow {
display:none!important; display:none!important;

View File

@@ -4,6 +4,9 @@
font-size: 14px; font-size: 14px;
width: 250px; width: 250px;
} }
div {
user-select: none;
}
body { body {
overflow: hidden; overflow: hidden;

View File

@@ -14,6 +14,9 @@
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
} }
div {
user-select: none;
}
body { body {
width: 100%; width: 100%;

View File

@@ -28,7 +28,6 @@ export default function planeSchoolHandle(globalData: IGlobalData) {
mp.game.ui.setTextComponentFormat('STRING'); mp.game.ui.setTextComponentFormat('STRING');
mp.game.ui.addTextComponentSubstringPlayerName('Drücke ~INPUT_CONTEXT~, um das Flugschulmenü zu öffnen'); mp.game.ui.addTextComponentSubstringPlayerName('Drücke ~INPUT_CONTEXT~, um das Flugschulmenü zu öffnen');
mp.game.ui.displayHelpTextFromStringLabel(0, true, true, -1); mp.game.ui.displayHelpTextFromStringLabel(0, true, true, -1);
mp.keys.bind(0x45, false, keyPressHandler); mp.keys.bind(0x45, false, keyPressHandler);
keyBound = true; keyBound = true;
}); });

View File

@@ -41,7 +41,7 @@ namespace ReallifeGamemode.Server.DrivingSchool
{ {
//BEGIN //BEGIN
new Vector3(-745.6191, -1285.735, 3.947221), new Vector3(-745.6191, -1285.735, 3.947221),
new Vector3(-704.5242, -1246.765, 8.885977), new Vector3(-704.5242, -1246.765, 9.385977),
new Vector3(-673.0675, -1266.652, 9.29717), new Vector3(-673.0675, -1266.652, 9.29717),
new Vector3(-646.1747, -1293.238, 9.28384), new Vector3(-646.1747, -1293.238, 9.28384),
new Vector3(-510.7098, -916.9164, 24.10735), new Vector3(-510.7098, -916.9164, 24.10735),