From 8c3f90810db6c35cdd692a968e8b43b4f369d4f4 Mon Sep 17 00:00:00 2001 From: Willy-JL Date: Fri, 2 Apr 2021 01:28:25 +0200 Subject: [PATCH] Bump version number --- main.py | 2 +- modules/widgets.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/main.py b/main.py index cb9323c..884a827 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,5 @@ from modules import globals -globals.version = "2.0" +globals.version = "2.1" import sys diff --git a/modules/widgets.py b/modules/widgets.py index 459bb74..179b0ba 100644 --- a/modules/widgets.py +++ b/modules/widgets.py @@ -80,7 +80,6 @@ def reset(self): self.scrolling = False async def marquee(self): - # label_width = QFontMetrics(self.font()).width(self.text()) label_width = self.fontMetrics().boundingRect(self.text()).width() if label_width > globals.gui.max_info_width: self.label_x = -1