time delta for time diff view is changeable

This commit is contained in:
2023-05-28 10:48:32 +02:00
parent 1bdd7b8071
commit 20d8bbfe3e
8 changed files with 103 additions and 19 deletions

View File

@@ -544,7 +544,7 @@ class InnerBigText(QWidget):
painter.end()
end_ns = time.process_time_ns()
print(f"paint took {(end_ns - start_ns) / 1000000.0}")
# print(f"paint took {(end_ns - start_ns) / 1000000.0}")
def draw_highlights(self, highlights: [HighlightedRange], painter: QPainter, y_line_offset: int):

View File

@@ -1,6 +1,5 @@
from PySide6.QtWidgets import QWidget, QHBoxLayout
class HBox(QWidget):
def __init__(self, *widgets: QWidget):
super(HBox, self).__init__()