We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1610784 commit 58cab30Copy full SHA for 58cab30
packages/react-devtools-scheduling-profiler/src/content-views/SuspenseEventsView.js
@@ -250,6 +250,8 @@ export class SuspenseEventsView extends View {
250
visibleArea.size.width,
251
visibleArea.size.height,
252
);
253
+ console.log('visibleArea:', JSON.stringify(visibleArea));
254
+ console.log('frame:', JSON.stringify(frame));
255
256
// Draw events
257
const scaleFactor = positioningScaleFactor(
@@ -273,7 +275,7 @@ export class SuspenseEventsView extends View {
273
275
const borderFrame: Rect = {
274
276
origin: {
277
x: frame.origin.x,
- y: frame.origin.y + SUSPENSE_EVENT_HEIGHT,
278
+ y: frame.origin.y + (i + 1) * ROW_WITH_BORDER_HEIGHT - BORDER_SIZE,
279
},
280
size: {
281
width: frame.size.width,
0 commit comments