Hide UID files in VSCode
This commit is contained in:
@@ -20,6 +20,7 @@ var isClosed = true;
|
||||
|
||||
func _ready() -> void:
|
||||
label = $MarginContainer/Label
|
||||
self.visible = false;
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
if text == "":
|
||||
@@ -39,9 +40,9 @@ func _process(delta: float) -> void:
|
||||
|
||||
if visibleCharacters >= getCountOfCharactersToScrollInView():
|
||||
currentViewScrolled = true;
|
||||
print("Scrolled view");
|
||||
if isMoreViews:
|
||||
print("More views");
|
||||
#print("Scrolled view");
|
||||
#if isMoreViews:
|
||||
#print("More views");
|
||||
return;
|
||||
|
||||
if Input.is_action_just_pressed("interact"):
|
||||
@@ -108,7 +109,7 @@ func setText(text:String) -> void:
|
||||
self.text = text;
|
||||
if text == "":
|
||||
isClosed = true;
|
||||
label.text = "closed.";
|
||||
self.visible = false;
|
||||
return;
|
||||
|
||||
isClosed = false;
|
||||
@@ -117,3 +118,4 @@ func setText(text:String) -> void:
|
||||
currentLine = 0;
|
||||
currentViewScrolled = false;
|
||||
recalculateWrapping();
|
||||
self.visible = true;
|
||||
|
Reference in New Issue
Block a user