highlight fix

main
Justus Jan Nico Wolff 2024-06-02 17:53:23 +02:00
parent 83e87b2bb3
commit 86c9226bad
2 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@
{}

View File

@ -187,8 +187,8 @@ class previewrend:
self._win.update()
def select(self, x, y):
if f"{x}:{y}" in self._grid:
self._grid[f"{x}:{y}"].config(background="cyan")
if f"{int(x)}:{int(y)}" in self._grid:
self._grid[f"{int(x)}:{int(y)}"].config(background="cyan")
self.update()
def deselect(self, x, y):