mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 18:15:53 +00:00
Dialogue System
This commit is contained in:
parent
77765a581e
commit
1fa77f0c03
690 changed files with 46698 additions and 14 deletions
13
addons/dialogic/Editor/Settings/HintLabelStylingScript.gd
Normal file
13
addons/dialogic/Editor/Settings/HintLabelStylingScript.gd
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
@tool
|
||||
extends Label
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
# don't load the label settings when opening as a scene
|
||||
# prevents HUGE diffs
|
||||
if owner.get_parent() is SubViewport:
|
||||
return
|
||||
label_settings = LabelSettings.new()
|
||||
label_settings.font = get_theme_font("doc_italic", "EditorFonts")
|
||||
label_settings.font_size = get_theme_font_size('font_size', 'Label')
|
||||
label_settings.font_color = get_theme_color("accent_color", "Editor")
|
||||
Loading…
Add table
Add a link
Reference in a new issue