Skip to content

Commit

Permalink
Fix top of flame graph when dragging
Browse files Browse the repository at this point in the history
  • Loading branch information
laffra committed Jul 27, 2023
1 parent 56e2686 commit 3e2cdae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def drag(self, dx, dy, event=None):
if not self.fixedX:
self.offsetX = self.offsetX + dx
if not self.fixedY:
self.offsetY = min(21, self.offsetY + dy)
self.offsetY = min(0, self.offsetY + dy)
if event and self.dragCallback:
self.dragCallback(dx, dy)
self.redraw()
Expand Down

0 comments on commit 3e2cdae

Please sign in to comment.