Merge pull request #916 from thecodingmachine/HotFixPerformance
HotFix performance
This commit is contained in:
commit
d44e449e92
3
front/dist/resources/style/style.css
vendored
3
front/dist/resources/style/style.css
vendored
@ -795,7 +795,7 @@ input[type=range]:focus::-ms-fill-upper {
|
|||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
.main-container .audio-playing img{
|
.main-container .audio-playing img{
|
||||||
width: 30px;
|
/*width: 30px;*/
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background-color: #ffda01;
|
background-color: #ffda01;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
@ -803,6 +803,7 @@ input[type=range]:focus::-ms-fill-upper {
|
|||||||
.main-container .audio-playing p{
|
.main-container .audio-playing p{
|
||||||
color: white;
|
color: white;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
margin-top: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* VIDEO QUALITY */
|
/* VIDEO QUALITY */
|
||||||
|
@ -5,6 +5,7 @@ export enum AdminMessageEventTypes {
|
|||||||
admin = 'message',
|
admin = 'message',
|
||||||
audio = 'audio',
|
audio = 'audio',
|
||||||
ban = 'ban',
|
ban = 'ban',
|
||||||
|
banned = 'banned',
|
||||||
}
|
}
|
||||||
|
|
||||||
interface AdminMessageEvent {
|
interface AdminMessageEvent {
|
||||||
|
@ -184,7 +184,7 @@ export class RoomConnection implements RoomConnection {
|
|||||||
} else if (message.hasSendusermessage()) {
|
} else if (message.hasSendusermessage()) {
|
||||||
adminMessagesService.onSendusermessage(message.getSendusermessage() as SendUserMessage);
|
adminMessagesService.onSendusermessage(message.getSendusermessage() as SendUserMessage);
|
||||||
} else if (message.hasBanusermessage()) {
|
} else if (message.hasBanusermessage()) {
|
||||||
adminMessagesService.onSendusermessage(message.getSendusermessage() as BanUserMessage);
|
adminMessagesService.onSendusermessage(message.getBanusermessage() as BanUserMessage);
|
||||||
} else if (message.hasWorldfullwarningmessage()) {
|
} else if (message.hasWorldfullwarningmessage()) {
|
||||||
worldFullWarningStream.onMessage();
|
worldFullWarningStream.onMessage();
|
||||||
} else if (message.hasRefreshroommessage()) {
|
} else if (message.hasRefreshroommessage()) {
|
||||||
|
@ -33,7 +33,7 @@ const fps : Phaser.Types.Core.FPSConfig = {
|
|||||||
/**
|
/**
|
||||||
* Use setTimeout instead of requestAnimationFrame to run the game loop.
|
* Use setTimeout instead of requestAnimationFrame to run the game loop.
|
||||||
*/
|
*/
|
||||||
forceSetTimeOut: true,
|
forceSetTimeOut: false,
|
||||||
/**
|
/**
|
||||||
* Calculate the average frame delta from this many consecutive frame intervals.
|
* Calculate the average frame delta from this many consecutive frame intervals.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user