File tree 1 file changed +1
-5
lines changed
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 193
193
x = request .left * ratio + space, // position
194
194
canvas = cache .get (elementId) || cache .set (elementId, document .getElementById (elementId)),
195
195
ctx = canvas .getContext (" 2d" ),
196
- backingStoreRatio,
197
196
scaleRatio,
198
197
devicePixelRatio;
199
198
206
205
207
206
// For retina displays so text and boxes will be crisp
208
207
devicePixelRatio = window .devicePixelRatio == " undefined" ? 1 : window .devicePixelRatio ;
209
- backingStoreRatio = ctx .webkitBackingStorePixelRatio == " undefined" ? 1 : ctx .webkitBackingStorePixelRatio ;
210
208
scaleRatio = devicePixelRatio / 1 ;
211
209
212
- canvasHeight += gapPerEvent * drawableEvents .length ;
213
-
214
210
canvas .width = width * scaleRatio;
215
211
canvas .height = canvasHeight * scaleRatio;
216
212
363
359
var self = this ;
364
360
365
361
_requests .forEach (function (request ) {
366
- self .drawOne (request, maxRequestTime , threshold, width);
362
+ self .drawOne (request, _maxRequestTime , threshold, width);
367
363
});
368
364
};
369
365
You can’t perform that action at this time.
0 commit comments