Skip to content

Commit

Permalink
Redraw marker when selecting it, so it comes to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
laffra committed Jul 27, 2023
1 parent 0815bde commit 0687f5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dashboard/views/marker.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def mouseenter(self, x, y):
self.select()

def select(self):
self.draw()
(js.jQuery("#marker-highlight")
.css("left", self.canvas.toScreenX(self.x))
.css("top", self.canvas.toScreenY(self.y) + 42)
Expand Down

0 comments on commit 0687f5d

Please sign in to comment.