Hide UID files in VSCode

This commit is contained in:
2025-01-19 22:10:08 -06:00
parent 163c37ffe3
commit 43d6f58763
7 changed files with 55 additions and 25 deletions

View File

@@ -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;