First work on dialogic, resized guild, and started implementing portraits.
This commit is contained in:
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")
|
||||
Reference in New Issue
Block a user