Another float glitched trough..

pull/544/head
Holger Müller 2022-09-15 20:32:44 +02:00
rodzic 1609295bd9
commit ef6a3c2d0a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 2FDB49E81EAE6622
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -91,8 +91,8 @@ class SquareChart(Chart):
for m in self.markers:
if m.location != -1 and m.location < len(self.data):
x = self.getXPosition(self.data[m.location])
y = self.height() / 2 + \
self.data[m.location].im * -1 * self.dim.height / 2
y = int(self.height() // 2 -
self.data[m.location].im * self.dim.height // 2)
self.drawMarker(x, y, qp, m.color, self.markers.index(m) + 1)
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: