Skip to content

Commit

Permalink
fixed issue with slider_with_text issue #101
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBigKahuna353 committed Dec 3, 2023
1 parent f65c2ae commit 58364a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooman/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ def _draw(self):
if "top" in self.pivot:
y = self.y - obj.get_height()
y = self.y
self.surface.blit(obj, (x, y))
self.slider.surface.blit(obj, (x, y))

def _get_text_height(self):
return self.font.render(" ", True, (0, 0, 0)).get_height()
Expand Down

0 comments on commit 58364a6

Please sign in to comment.