Skip to content

Commit

Permalink
Fix mouse position line transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritiusdadd committed Mar 19, 2024
1 parent 37aa9a9 commit 5349ab8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/redmost/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ def drawForeground(
pen_color: qt_api.QtGui.QColor

if self._mouse_lambda is not None:
pen_color = qt_api.QtGui.QColor("#55555555")
pen_color = qt_api.QtGui.QColor("#aa333333")
pen.setColor(pen_color)
pen.setWidthF(1.5)
pen.setDashPattern((2,2,2,2))
pen.setWidthF(1.0)
pen.setDashPattern((6,6,6,6))
painter.setPen(pen)

mouse_line_x = self.chart().mapToPosition(
Expand Down

0 comments on commit 5349ab8

Please sign in to comment.