Skip to content

Commit

Permalink
Fix typo that crashes UI when selecting slice timing (#710)
Browse files Browse the repository at this point in the history
Reported-by: Nadza Dzinalija <n.dzinalija@amsterdamumc.nl>
  • Loading branch information
HippocampusGirl committed Mar 1, 2024
1 parent 14a2a50 commit 369289b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/halfpipe/ui/components/input/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def _draw_option(self, i, y):
if j == 0:
self.children[i].color = color
self.children[i].draw_at(y, x=x)
x = self.children[i].previousLength
x = self.children[i].previous_length
else:
if color == self.highlight_color:
if self.cur_index is not None and i == self.cur_index and self.is_active:
Expand Down

0 comments on commit 369289b

Please sign in to comment.