File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ function showDebugInfo() {
83
83
document . getElementById ( "bufferBulletScreenCount" ) . innerText = debugInfo . bufferBulletScreenCount ;
84
84
document . getElementById ( "delayBulletScreenCount" ) . innerText = debugInfo . delayBulletScreenCount ;
85
85
delayStats . update ( debugInfo . delay , debugInfo . delay . toFixed ( 2 ) + 'ms' ) ;
86
- fpsStats . update ( debugInfo . fps , debugInfo . fps ) ;
86
+ fpsStats . update ( debugInfo . fps , debugInfo . fps . toFixed ( 2 ) ) ;
87
87
realTimeBulletScreenCountStats . update ( debugInfo . realTimeBulletScreenCount , debugInfo . realTimeBulletScreenCount ) ;
88
88
if ( document . getElementById ( 'debug_info' ) . style . display != 'none' ) setTimeout ( showDebugInfo , 100 ) ;
89
89
}
Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ class GeneralEngine {
407
407
bufferBulletScreenCount : _bulletScreenBuffer . length ,
408
408
delay : _delay ,
409
409
delayBulletScreenCount : _delayBulletScreenCount ,
410
- fps : _playing ? Math . floor ( _refreshRate * 1000 ) : 0 //帧频
410
+ fps : _playing ? _refreshRate * 1000 : 0 //帧频
411
411
} ;
412
412
}
413
413
} ) ;
You can’t perform that action at this time.
0 commit comments