ncannasse 8 년 전
부모
커밋
fa17dc6ce0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      h3d/impl/Benchmark.hx

+ 1 - 1
h3d/impl/Benchmark.hx

@@ -150,7 +150,7 @@ class Benchmark extends h2d.Graphics {
 	}
 
 	function syncTip(s:StatsObject) {
-		tip.text = s.name+"( " + Std.int(s.time / 1e6) + "." + StringTools.lpad(""+(Std.int(s.time/1e5)%100),"0",2) + " ms " + s.drawCalls + " draws )";
+		tip.text = s.name+"( " + Std.int(s.time / 1e6) + "." + StringTools.lpad(""+(Std.int(s.time/1e4)%100),"0",2) + " ms " + s.drawCalls + " draws )";
 		var tw = tip.textWidth;
 		var tx = s.xPos + ((s.xSize - tw) >> 1);
 		if( tx + tw > curWidth ) tx = curWidth - tw;