Remove duplicated variable

This commit is contained in:
Vulcalien 2021-12-18 11:58:38 +01:00
parent 0ed248c0c7
commit c574d77374
1 changed files with 2 additions and 3 deletions

View File

@ -915,9 +915,8 @@ class Window(Container, Gtk.Window):
if len(winners) > 1:
# Break an n-way tie using the cursor position
term_alloc = terminal.get_allocation()
cursor_x = term_alloc.x + term_alloc.width / 2
cursor_y = term_alloc.y + term_alloc.height / 2
cursor_x = allocation.x + allocation.width / 2
cursor_y = allocation.y + allocation.height / 2
for term in winners:
rect = layout[term]