Skip to content

Commit

Permalink
fix: Cant see edit when typing at the bottom of the screen (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Dec 1, 2024
1 parent 590b419 commit 2294c20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dooit/ui/widgets/trees/model_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def update_prompt_by_id(self, _id: str):
def update_current_prompt(self):
if self.highlighted is not None:
self.update_prompt_at_index(self.highlighted)
self.scroll_to_highlight()

def set_filter(self, filter: str) -> None:
self.filter_refresh = bool(filter)
Expand Down

2 comments on commit 2294c20

@El3ctricFX
Copy link

@El3ctricFX El3ctricFX commented on 2294c20 Dec 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gotta love how its literally just 1 line of code 😂

appreciate the fix

@kraanzu
Copy link
Member Author

@kraanzu kraanzu commented on 2294c20 Dec 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea well, this is my 3rd re-write of the whole code so everytime, its much easier to fix/udate :)

Please sign in to comment.