Phase 14 - Organized directories.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# test_text_baseline_fix.gd
|
||||
# Headless regression test for two text-baseline drawing fixes:
|
||||
# 1. scripts/stickman_speech_bubble.gd _draw() text baseline now includes
|
||||
# 1. scripts/speech/stickman_speech_bubble.gd _draw() text baseline now includes
|
||||
# font.get_ascent(FONT_SIZE) so glyphs sit inside the bubble rect.
|
||||
# 2. scripts/stage_director_visuals.gd _draw_rule() rule-label baseline now
|
||||
# 2. scripts/stage/stage_director_visuals.gd _draw_rule() rule-label baseline now
|
||||
# includes font.get_ascent(font_size) so white text sits on the dark rect.
|
||||
#
|
||||
# The math is replicated against the real ThemeDB.fallback_font using each
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
extends SceneTree
|
||||
|
||||
const SpeechBubbleScript := preload("res://scripts/stickman_speech_bubble.gd")
|
||||
const StageDirectorVisualsScript := preload("res://scripts/stage_director_visuals.gd")
|
||||
const SpeechBubbleScript := preload("res://scripts/speech/stickman_speech_bubble.gd")
|
||||
const StageDirectorVisualsScript := preload("res://scripts/stage/stage_director_visuals.gd")
|
||||
|
||||
# Inline constants from stage_director_visuals.gd's _draw_rule() (they are not
|
||||
# named constants there). RULE_LABEL_FONT_SIZE_PX is read from the script.
|
||||
|
||||
Reference in New Issue
Block a user