Skip to content

Commit

Permalink
Fix bug in switching current game
Browse files Browse the repository at this point in the history
& update wiki snapshot
  • Loading branch information
frank-weinberg committed May 9, 2022
1 parent f2f3946 commit 358dcd1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
18 changes: 17 additions & 1 deletion html/documentation/wiki-snapshot.html
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@
<div class="nav-container">
<div class="nav-inner" id="scroll-spy" style="width: min-content; overflow: auto; top: 60px; bottom: 0; padding 10px 0 10px 0;">
<span class="toc">Table of contents</span>
<p>This document is a snapshot of the <a href="https://github.com/rollerderby/scoreboard/wiki">CRG Wiki</a> bundled with the 5.0.1 release of CRG. If you have internet access it is recommended that you refer to the online version of the Wiki as it may contain relevant updates.</p>
<p>This document is a snapshot of the <a href="https://github.com/rollerderby/scoreboard/wiki">CRG Wiki</a> bundled with the 5.0.2 release of CRG. If you have internet access it is recommended that you refer to the online version of the Wiki as it may contain relevant updates.</p>
<h3 id="howtos">Howtos</h3>
<ul class="nav"><li><strong><a href="#Installing-the-Scoreboard-Software">Installing the Scoreboard Software</a></strong><ul class="nav"><li><span>Instructions for getting the software installed and running on a standalone computer to provide a functioning scoreboard.</span></li></ul></li><li><strong><a href="#Quick-Start-Guide">Quick Start Guide</a></strong><ul class="nav"><li><span>Basic information to run a game with only what is mandatory for a regulation game. See the pages below for the full feature set.</span></li></ul></li><li><strong><a href="#Preparing-a-Game">Preparing a Game</a></strong></li><li><strong><a href="#Scoreboard-Operation">Scoreboard Operation</a></strong></li><li><strong><a href="#Configuring-Hotkeys">Configuring Hotkeys</a></strong></li><li><strong><a href="#Using-the-Scoreboard-on-a-Network">Using the Scoreboard on a Network</a></strong></li><li><strong><a href="#Penalty-Tracking">Penalty Tracking</a></strong></li><li><strong><a href="#Lineup-Tracking">Lineup Tracking</a></strong></li><li><span>The </span><strong>Penalty Lineup Tracking</strong> interface combines the PT and LT inputs for one team on a single screen. See those pages for info how to operate it.</li><li><strong><a href="Tweeting-from-CRG">Tweeting from CRG</a></strong></li></ul><h3 id="tips-tricks">Tips &amp; Tricks</h3>
<ul class="nav"><li><strong><a href="#Scoreboard-Best-Practices">Scoreboard Best Practices</a></strong></li><li><strong><a href="#Graphics">Graphics</a></strong><ul class="nav"><li><span>Information on graphics for use with CRG, such as team logos and sponsor banners.</span></li></ul></li><li><strong><a href="#External-Links">External Links</a></strong><ul class="nav"><li><span>Links to other sites with information about CRG Scoreboard.</span></li></ul></li></ul><h3 id="details-about-screens-tabs">Details about Screens / Tabs</h3>
Expand Down Expand Up @@ -957,6 +957,22 @@ <h3 id="removing-a-jam-recorded-in-error-decreasing-the-jam-number-">Removing a
<li>Find the surplus jam in the list and click the corresponding &quot;Delete&quot; button</li>
<li>Close the popup.</li>
</ul>
<h3 id="unstarting-a-period-game">Unstarting a period/game</h3>
<p>If you have not clicked any clock controls since the erroneous &quot;Start Jam&quot; (and the jam has also not been stopped by AutoEnd):</p>
<ul>
<li>Click &quot;Un-Start Jam&quot;.</li>
</ul>
<p>otherwise:</p>
<ul>
<li>In the period clock section click on the time.</li>
<li>In the upper text field of the popup enter 0.</li>
<li>Click &quot;Set&quot; immediately below the text field.</li>
<li>Close the popup.</li>
<li>If a Jam or Timeout is running, end it with &quot;Stop Jam&quot;/&quot;End Timeout&quot;</li>
<li>In the period clock section click on the number.</li>
<li>The erroneous period should be at the bottom of the list. Click the corresponding &quot;Delete&quot; button.</li>
<li>Close the popup.</li>
</ul>
<h3 id="adjusting-the-type-of-a-past-timeout-adjusting-timeout-or-numbers-1-">Adjusting the type of a past timeout (Adjusting timeout/OR numbers 1)</h3>
<ul>
<li>Click on the number in the timeout clock section or either of the TTO or OR counts.</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public ChildToMirrorScoreBoardListener(ScoreBoardEventProvider targetElement,
public void scoreBoardChange(ScoreBoardEvent<?> event) {
T value = (T) event.getValue();
if (event.isRemove()) {
targetElement.remove(targetProperty, value.getId(), Source.COPY);
targetElement.remove(targetProperty, value.getProviderId(), Source.COPY);
} else {
targetElement.add(targetProperty, toMirror(value), Source.COPY);
}
Expand Down Expand Up @@ -157,7 +157,7 @@ public void scoreBoardChange(ScoreBoardEvent<MirrorScoreBoardEventProvider<T>> e
if (targetElement == null) { return; }
MirrorScoreBoardEventProvider<T> value = event.getValue();
if (event.isRemove()) {
targetElement.remove(targetProperty, value.getId(), source);
targetElement.remove(targetProperty, value.getProviderId(), source);
} else {
targetElement.add(targetProperty, fromMirror(value), source);
}
Expand Down

0 comments on commit 358dcd1

Please sign in to comment.