Commit 28abd6ad authored by Adrian Georgescu's avatar Adrian Georgescu

Swap expand/contract info panel arrow direction

parent 45fa9dbe
......@@ -2108,8 +2108,8 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
arrow_rect = QRect(0, 0, 14, 14)
arrow_rect.moveBottomRight(rect.bottomRight())
arrow = QPolygonF([QPointF(-3, -1.5), QPointF(0.5, 2.5), QPointF(4, -1.5)])
arrow.translate(1, 1)
arrow = QPolygonF([QPointF(3, 1.5), QPointF(-0.5, -2.5), QPointF(-4, 1.5)])
arrow.translate(2, 1)
painter.save()
painter.setRenderHint(QPainter.Antialiasing, True)
......
......@@ -3323,8 +3323,8 @@ class ChatSessionDelegate(QStyledItemDelegate, ColorHelperMixin):
arrow_rect.moveBottomRight(widget.state_label.geometry().bottomRight())
arrow_rect.translate(option.rect.topLeft())
arrow = QPolygonF([QPointF(3, 1.5), QPointF(-0.5, -2.5), QPointF(-4, 1.5)])
arrow.translate(2, 1)
arrow = QPolygonF([QPointF(-3, -1.5), QPointF(0.5, 2.5), QPointF(4, -1.5)])
arrow.translate(1, 1)
painter.save()
painter.setRenderHint(QPainter.Antialiasing, True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment