Skip to content

Commit

Permalink
Merge pull request #193 from Ark2000/scroll-fix
Browse files Browse the repository at this point in the history
fix: content out of window
  • Loading branch information
worron authored Sep 11, 2024
2 parents 2346e73 + 38440f3 commit ce4ad6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/panku_console/common/smooth_scroll/smooth_scroll.gd
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func _process(delta: float) -> void:
content.size.x = clip_container.size.x
content.size.y = 0
content.position.y = 0
content.position.x = 0

scrollbar.max_value = content.size.y
var scrollbar_value_max = max(0, scrollbar.max_value - clip_container.size.y)
Expand Down

0 comments on commit ce4ad6d

Please sign in to comment.