File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1294,13 +1294,13 @@ proc ::tools::graphs::time::Refresh {} {
12941294 ::utils::graph::data tgraph white \
12951295 -color darkgreen -outline darkgreen \
12961296 -points 1 -lines 1 -linewidth 2 -radius 3 \
1297- -key $white -coords $coordsW
1297+ -key {} -coords $coordsW
12981298 }
12991299 if {[llength $coordsB ] > 0} {
13001300 ::utils::graph::data tgraph black \
13011301 -color steelBlue -outline steelBlue \
13021302 -points 1 -lines 1 -linewidth 2 -radius 3 \
1303- -key $black -coords $coordsB
1303+ -key {} -coords $coordsB
13041304 }
13051305
13061306 ::utils::graph::redraw tgraph
Original file line number Diff line number Diff line change @@ -118,7 +118,6 @@ namespace eval ::windows::commenteditor {
118118 variable timeH
119119 variable timeM
120120 variable timeS
121- variable prevSecs
122121 variable lastTime
123122
124123 # Determine which player just moved
@@ -130,13 +129,6 @@ namespace eval ::windows::commenteditor {
130129 if {![string is integer -strict $timeM ]} { set timeM 0 }
131130 if {![string is integer -strict $timeS ]} { set timeS 0 }
132131
133- set totalSecs [expr {$timeH * 3600 + $timeM * 60 + $timeS }]
134- if {$totalSecs >= $prevSecs($p) } {
135- tk_messageBox -icon warning -title " Time Entry Error ($p )" \
136- -message " New $p time ($timeH :$timeM :$timeS ) must be less than previous time!"
137- return
138- }
139- set prevSecs($p ) $totalSecs
140132 set lastTime($p ) [list $timeH $timeM $timeS [expr {($timeH * 3600 + $timeM * 60 + $timeS ) / 60.0}]]
141133
142134 set clk [format " \[ %%clk %02d:%02d:%02d\] " $timeH $timeM $timeS ]
You can’t perform that action at this time.
0 commit comments