aboutsummaryrefslogtreecommitdiff
path: root/game/addons/zylann.hterrain/tools/util/rich_text_label_hyperlinks.gd
diff options
context:
space:
mode:
author Gone2Daly <71726742+Gone2Daly@users.noreply.github.com>2023-07-22 21:05:42 +0200
committer Gone2Daly <71726742+Gone2Daly@users.noreply.github.com>2023-07-22 21:05:42 +0200
commit71b3cd829f80de4c2cd3972d8bfd5ee470a5d180 (patch)
treeb4280fde6eef2ae6987648bc7bf8e00e9011bb7f /game/addons/zylann.hterrain/tools/util/rich_text_label_hyperlinks.gd
parentce9022d0df74d6c33db3686622be2050d873ab0b (diff)
init_testtest3d
Diffstat (limited to 'game/addons/zylann.hterrain/tools/util/rich_text_label_hyperlinks.gd')
-rw-r--r--game/addons/zylann.hterrain/tools/util/rich_text_label_hyperlinks.gd11
1 files changed, 11 insertions, 0 deletions
diff --git a/game/addons/zylann.hterrain/tools/util/rich_text_label_hyperlinks.gd b/game/addons/zylann.hterrain/tools/util/rich_text_label_hyperlinks.gd
new file mode 100644
index 0000000..242fe6e
--- /dev/null
+++ b/game/addons/zylann.hterrain/tools/util/rich_text_label_hyperlinks.gd
@@ -0,0 +1,11 @@
+@tool
+extends RichTextLabel
+
+
+func _init():
+ meta_clicked.connect(_on_meta_clicked)
+
+
+func _on_meta_clicked(meta):
+ OS.shell_open(meta)
+