Fixed settings and updated player view. Fixed many other smaler things
This commit is contained in:
@@ -1,16 +1,8 @@
|
||||
extends ScrollContainer
|
||||
|
||||
var max = 0;
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
var max_value = 0;
|
||||
|
||||
func _draw():
|
||||
if max != self.get_v_scroll_bar().max_value:
|
||||
max = self.get_v_scroll_bar().max_value
|
||||
self.scroll_vertical = max
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
pass
|
||||
if max_value != self.get_v_scroll_bar().max_value:
|
||||
max_value = self.get_v_scroll_bar().max_value
|
||||
self.scroll_vertical = max_value
|
||||
Reference in New Issue
Block a user