-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
858516a
commit f6c96c5
Showing
7 changed files
with
40 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
<!-- <Radar /> --> | ||
<!-- <TopBar /> --> | ||
<PlayersAlive /> | ||
<template v-if="$map.name"> | ||
<!-- <Radar /> --> | ||
<!-- <TopBar /> --> | ||
<PlayersAlive /> | ||
|
||
<!-- <PlayerSidebars /> --> | ||
<!-- <FocusedPlayer /> --> | ||
<!-- <PlayerSidebars /> --> | ||
<!-- <FocusedPlayer /> --> | ||
|
||
<!-- <SeriesGraph /> --> | ||
<!-- <SeriesGraph /> --> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
{ | ||
"parent": "raw" | ||
"parent": "raw", | ||
|
||
"options": { | ||
"preferences.playersAlive.hideDuringFreezetime": { | ||
"type": "boolean", | ||
"value": true, | ||
"section": "Preferences", | ||
"label": "Hide \"Players Alive\" during freezetime" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
import { additionalState, gsiState } from '/hud/core/state.js' | ||
import { additionalState, gsiState, options } from '/hud/core/state.js' | ||
import { parseGsiState } from '/hud/core/parse-gsi-state.js' | ||
|
||
export const onMessage = (msg) => { | ||
const data = JSON.parse(msg.data) | ||
console.debug(data) | ||
|
||
Object.assign(gsiState, data.gsiState) | ||
Object.assign(additionalState, data.additionalState) | ||
Object.assign(gsiState, data.gsiState) | ||
Object.assign(options, data.options) | ||
|
||
parseGsiState() | ||
} |