Skip to content

Commit ef17136

Browse files
committed
fix docs
1 parent ece473c commit ef17136

File tree

1 file changed

+2
-2
lines changed
  • src/sentry/static/sentry/app/components/events/interfaces/spans

1 file changed

+2
-2
lines changed

src/sentry/static/sentry/app/components/events/interfaces/spans/dragManager.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class DragManager extends React.Component<DragManagerProps, DragManagerState> {
116116
const max = this.state.rightHandlePosition - MINIMUM_WINDOW_SIZE;
117117

118118
this.setState({
119-
// clamp mouseLeft to be within [0, rightHandlePosition - MINIMUM_WINDOW_SIZE]
119+
// clamp rawMouseX to be within [0, rightHandlePosition - MINIMUM_WINDOW_SIZE]
120120
leftHandlePosition: clamp(rawMouseX, min, max),
121121
});
122122
break;
@@ -126,7 +126,7 @@ class DragManager extends React.Component<DragManagerProps, DragManagerState> {
126126
const max = 1;
127127

128128
this.setState({
129-
// clamp mouseLeft to be within [leftHandlePosition + MINIMUM_WINDOW_SIZE, 1]
129+
// clamp rawMouseX to be within [leftHandlePosition + MINIMUM_WINDOW_SIZE, 1]
130130
rightHandlePosition: clamp(rawMouseX, min, max),
131131
});
132132
break;

0 commit comments

Comments
 (0)