Skip to content

Commit 2885c28

Browse files
authored
Calling out rendering and state setting config on match start. (#83)
1 parent 2559249 commit 2885c28

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

rlbot_gui/gui/main.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
</md-card-content>
281281
</md-card>
282282

283-
<md-snackbar md-position="center" :md-active.sync="showSnackbar" md-persistent>
283+
<md-snackbar md-position="center" :md-active.sync="showSnackbar" :md-duration="5000" md-persistent>
284284
<span>{{snackbarContent}}</span>
285285
</md-snackbar>
286286

@@ -530,6 +530,11 @@
530530
const blueBots = this.blueTeam.map((bot) => { return {'name': bot.name, 'team': 0, 'type': bot.type, 'skill': bot.skill, 'path': bot.path} });
531531
const orangeBots = this.orangeTeam.map((bot) => { return {'name': bot.name, 'team': 1, 'type': bot.type, 'skill': bot.skill, 'path': bot.path} });
532532
533+
const renderingMsg = this.matchSettings.enable_rendering ? "🎨 Rendering is ON." : "🚫 Rendering is OFF.";
534+
const stateSettingMsg = this.matchSettings.enable_state_setting ? "✨ State Setting is ON." : "🚫 State Setting is OFF.";
535+
this.snackbarContent = renderingMsg + " " + stateSettingMsg + " See EXTRA to change.";
536+
this.showSnackbar = true;
537+
533538
// start match asynchronously, so it doesn't block things like updating the background image
534539
setTimeout(() => {
535540
eel.start_match(blueBots.concat(orangeBots), this.matchSettings);

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import setuptools
22

3-
__version__ = '0.0.59'
3+
__version__ = '0.0.60'
44

55
with open("README.md", "r") as readme_file:
66
long_description = readme_file.read()

0 commit comments

Comments
 (0)