Click split button:
splitClick():
updateSplits():
TimerLabel.Text = current (resolved time span from teamSplits[splitNum]-teamGameEnd[game])
Next timer tick:
updateTimerEvent():
teamSplits[splitNum] = current
updateSplits()
TimerLabel.Text = current (resolved in the same way)
time to resolve hasn't been updated immediately after we move on so it doesn't exist - then the resolved timeSpan flattens out to -1*(previous game time). - since we don't show the sign it doesn't appear that way, so it jumps "back" to the previous game time until the next timer update.
Possible solutions:
Don't run updateSplits as part of splitClick()
Get current timer on split click and force an update
Move things along behind the scenes but just don't visually update until the timer cycle
Click split button: splitClick(): updateSplits(): TimerLabel.Text = current (resolved time span from teamSplits[splitNum]-teamGameEnd[game])
Next timer tick: updateTimerEvent(): teamSplits[splitNum] = current updateSplits() TimerLabel.Text = current (resolved in the same way)
time to resolve hasn't been updated immediately after we move on so it doesn't exist - then the resolved timeSpan flattens out to -1*(previous game time). - since we don't show the sign it doesn't appear that way, so it jumps "back" to the previous game time until the next timer update.
Possible solutions: