Skip to content

Commit

Permalink
chore: Update interval randomization range for typing thread
Browse files Browse the repository at this point in the history
  • Loading branch information
LyubomirT committed Jul 29, 2024
1 parent 1fc4425 commit 2ef66fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def run(self):

if self.randomize_interval:
# Randomize the interval between 80% and 120% of the original value
current_interval = self.interval * random.uniform(0.8, 1.2)
current_interval = self.interval * random.uniform(0.4, 1.8)
else:
current_interval = self.interval

Expand Down
2 changes: 1 addition & 1 deletion ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def setupUi(self, MainWindow):
self.centralwidget.setObjectName("centralwidget")

self.horizontalLayoutWidget = QtWidgets.QWidget(self.centralwidget)
self.horizontalLayoutWidget.setGeometry(QtCore.QRect(20, 20, 561, 421))
self.horizontalLayoutWidget.setGeometry(QtCore.QRect(20, 20, 561, 461))
self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget")

self.horizontalLayout = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget)
Expand Down

0 comments on commit 2ef66fa

Please sign in to comment.