Code formatted using GDQuest's formatter
This commit is contained in:
1 parent
fefb1a5bf0
commit
3ec4b5786f
15 files changed
+201
-146
No files matched your search
@@ -1,10 +1,11 @@
|
||||
@tool
|
||||
extends VBoxContainer
|
||||
|
||||
@export var texture : Texture2D
|
||||
@export var texture: Texture2D
|
||||
@export var locale: String
|
||||
@export var path: String
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
$Button.icon = texture
|
||||
@@ -12,6 +13,6 @@ func _ready() -> void:
|
||||
$Label.text = path.get_file()
|
||||
var globalized_path = ProjectSettings.globalize_path(path)
|
||||
$Button.pressed.connect(func(): OS.shell_open(globalized_path))
|
||||
|
||||
for c : Control in get_children():
|
||||
|
||||
for c: Control in get_children():
|
||||
c.tooltip_text = "%s\n%sx%s\nLocale: %s" % [path.get_file(), resolution.x, resolution.y, locale]
|
||||
Reference in new issue
Block a user