Skip to content

Commit f9bc9be

Browse files
Match Mode GUI Config [AARD-2026] (#1267)
Co-authored-by: Alexey Dmitriev <[email protected]>
2 parents 7307511 + 713aace commit f9bc9be

File tree

4 files changed

+509
-64
lines changed

4 files changed

+509
-64
lines changed

fission/src/systems/match_mode/DefaultMatchModeConfigs.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class DefaultMatchModeConfigs {
1212
teleopTime: 135,
1313
endgameTime: 20,
1414
ignoreRotation: true,
15-
maxHeight: Infinity,
15+
maxHeight: Number.MAX_SAFE_INTEGER,
1616
heightLimitPenalty: 0,
1717
sideMaxExtension: convertFeetToMeters(1.5),
1818
sideExtensionPenalty: 0,
@@ -60,9 +60,9 @@ class DefaultMatchModeConfigs {
6060
teleopTime: 15,
6161
endgameTime: 5,
6262
ignoreRotation: true,
63-
maxHeight: Infinity,
63+
maxHeight: Number.MAX_SAFE_INTEGER,
6464
heightLimitPenalty: 0,
65-
sideMaxExtension: Infinity,
65+
sideMaxExtension: Number.MAX_SAFE_INTEGER,
6666
sideExtensionPenalty: 0,
6767
}
6868
}
@@ -76,9 +76,9 @@ class DefaultMatchModeConfigs {
7676
teleopTime: 135,
7777
endgameTime: 20,
7878
ignoreRotation: true,
79-
maxHeight: Infinity,
79+
maxHeight: Number.MAX_SAFE_INTEGER,
8080
heightLimitPenalty: 2,
81-
sideMaxExtension: Infinity,
81+
sideMaxExtension: Number.MAX_SAFE_INTEGER,
8282
sideExtensionPenalty: 2,
8383
}
8484
}

fission/src/ui/components/StyledComponents.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import {
3737
import { GiSteeringWheel } from "react-icons/gi"
3838
import { GrConnect } from "react-icons/gr"
3939
import { HiDownload } from "react-icons/hi"
40-
import { IoCheckmark, IoPencil, IoPeople, IoTrashBin } from "react-icons/io5"
40+
import { IoCheckmark, IoPencil, IoPeople, IoPlayOutline, IoTrashBin } from "react-icons/io5"
4141
import Label from "./Label"
4242

4343
export class SynthesisIcons {
@@ -63,6 +63,7 @@ export class SynthesisIcons {
6363
public static readonly CONNECT = <GrConnect />
6464
public static readonly INFO = <AiOutlineInfoCircle />
6565
public static readonly BUG = <FaBug />
66+
public static readonly PLAY = <IoPlayOutline />
6667

6768
/** Large icons: used for icon buttons */
6869
public static readonly DELETE_LARGE = <IoTrashBin size={"1.25rem"} />
@@ -75,6 +76,7 @@ export class SynthesisIcons {
7576
public static readonly LEFT_ARROW_LARGE = <FaArrowLeft size={"1.25rem"} />
7677
public static readonly BUG_LARGE = <FaBug size={"1.25rem"} />
7778
public static readonly XMARK_LARGE = <FaXmark size={"1.25rem"} />
79+
public static readonly PLAY_LARGE = <IoPlayOutline size={"1.25rem"} />
7880

7981
public static readonly OPEN_HUD_ICON = (
8082
<FaAngleRight

0 commit comments

Comments
 (0)