File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 193193 x = request .left * ratio + space, // position
194194 canvas = cache .get (elementId) || cache .set (elementId, document .getElementById (elementId)),
195195 ctx = canvas .getContext (" 2d" ),
196- backingStoreRatio,
197196 scaleRatio,
198197 devicePixelRatio;
199198
206205
207206 // For retina displays so text and boxes will be crisp
208207 devicePixelRatio = window .devicePixelRatio == " undefined" ? 1 : window .devicePixelRatio ;
209- backingStoreRatio = ctx .webkitBackingStorePixelRatio == " undefined" ? 1 : ctx .webkitBackingStorePixelRatio ;
210208 scaleRatio = devicePixelRatio / 1 ;
211209
212- canvasHeight += gapPerEvent * drawableEvents .length ;
213-
214210 canvas .width = width * scaleRatio;
215211 canvas .height = canvasHeight * scaleRatio;
216212
363359 var self = this ;
364360
365361 _requests .forEach (function (request ) {
366- self .drawOne (request, maxRequestTime , threshold, width);
362+ self .drawOne (request, _maxRequestTime , threshold, width);
367363 });
368364 };
369365
You can’t perform that action at this time.
0 commit comments