diff --git a/src/components/GameEvents.vue b/src/components/GameEvents.vue
index 01d6c35..4d3fc8a 100644
--- a/src/components/GameEvents.vue
+++ b/src/components/GameEvents.vue
@@ -2,17 +2,17 @@
-
+
+ {{gameEvents.length - index}} |
|
-
-
@@ -21,7 +21,6 @@
|
-
+ {{gameEvents.length - 8}} more game events
@@ -30,8 +29,6 @@
import tigers_autoref from "@/assets/icons/tigers-autoref.png"
import erforce_autoref from "@/assets/icons/erforce-autoref.svg"
- const maxUnscaledItems = 5.5;
-
export default {
name: "GameEvents",
data: function () {
@@ -45,30 +42,13 @@
return this.$store.state.refereeMsg;
},
gameEvents() {
- return this.refereeMessage.gameEvents;
- },
- rowHeight() {
- let n = Math.min(8, this.gameEvents.length)
- let rel = 1 - (Math.max(0, n - maxUnscaledItems) / maxUnscaledItems);
- return rel + 'em';
+ return this.refereeMessage.gameEvents.map((x) => x).reverse();
},
},
methods: {
formatGameEvent(gameEvent) {
return mapGameEventToText(gameEvent);
},
-
- autoRefIndicator(gameEvent) {
- if(gameEvent.origin === "")
- {
- return "GameController";
- } else {
- return gameEvent.origin.join(', ');
- }
- },
- isMajority(gameEvent) {
- return gameEvent.origin.includes('Majority');
- },
isOrigin(gameEvent, origin) {
return gameEvent.origin.includes(origin);
}
@@ -102,14 +82,6 @@
padding: 2px 2px 2px 10px;
}
- .more-game-events {
- font-size: 1em;
- text-align: center;
- margin-top: 10px;
- font-weight: bold;
- color: #fff;
- }
-
.autoref-icon {
object-fit: contain;
width: 1em;