Skip to content

Commit

Permalink
fix: asterisk typically denotes mandatory fields
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed May 25, 2024
1 parent 834dc88 commit 03c161d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions LucidCreations.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,6 @@ size_flags_vertical = 3

[node name="Grid" type="GridContainer" parent="Margin/Panel/Display/Gallery/GridScroll"]
unique_name_in_owner = true
margin_right = 1568.0
margin_bottom = 818.0
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 9
Expand Down
2 changes: 1 addition & 1 deletion src/ExtraTextContainer.gd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ func _ready():
func intiate_extra_text(reference_string: String, _is_optional: bool, description = null):
is_optional = _is_optional
reference.text = reference_string
if is_optional:
if not is_optional:
reference.text += '*'
text.text = globals.config.get_value("ExtraTexts", reference_string, '')
if not description:
Expand Down
2 changes: 1 addition & 1 deletion src/Special.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ margin_top = 64.0
margin_right = 320.0
margin_bottom = 84.0
custom_fonts/font = ExtResource( 1 )
text = "Extra Texts (* are optional)"
text = "Extra Texts (* are mandatory)"
autowrap = true

[node name="ExtraTexts" type="VBoxContainer" parent="."]
Expand Down

0 comments on commit 03c161d

Please sign in to comment.