Skip to content

Commit

Permalink
fix: content out of window
Browse files Browse the repository at this point in the history
* f7a85aa introduced a new bug and it's solved here.
  • Loading branch information
Ark2000 committed Sep 11, 2024
1 parent 2346e73 commit 38440f3
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 38440f3

Please sign in to comment.