From b822fe53140a4ebce4c6413304f5a1b3b175483f Mon Sep 17 00:00:00 2001 From: hz Date: Thu, 23 Jul 2026 00:42:50 -0500 Subject: [PATCH] Redesign clear-highlight icon as an eraser with sparkles Also drop a stale custom_minimum_size(0, 54) reset left over in _set_choice_button_text from before the answer row redesign - it was silently overriding the button's real 68px minimum height on every question load and on every elimination/strikethrough toggle, which is why choice rows never actually got taller and why striking a choice through visibly shrank its card. --- assets/icons/medmind/clear-highlight-dark.svg | 10 +++++++--- assets/icons/medmind/clear-highlight-dark.svg.import | 2 +- assets/icons/medmind/clear-highlight-light.svg | 10 +++++++--- assets/icons/medmind/clear-highlight-light.svg.import | 2 +- scripts/ui/question_player.gd | 1 - 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/assets/icons/medmind/clear-highlight-dark.svg b/assets/icons/medmind/clear-highlight-dark.svg index 9a1932e..63368e5 100644 --- a/assets/icons/medmind/clear-highlight-dark.svg +++ b/assets/icons/medmind/clear-highlight-dark.svg @@ -1,5 +1,9 @@ - - - + + + + + + + diff --git a/assets/icons/medmind/clear-highlight-dark.svg.import b/assets/icons/medmind/clear-highlight-dark.svg.import index 1e99851..06e2d62 100644 --- a/assets/icons/medmind/clear-highlight-dark.svg.import +++ b/assets/icons/medmind/clear-highlight-dark.svg.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bx3x2rqpurqqw" +uid="uid://fl5g0hqtqegt" path="res://.godot/imported/clear-highlight-dark.svg-67d9eee7c448efe7f572e5fc819b8ea0.ctex" metadata={ "vram_texture": false diff --git a/assets/icons/medmind/clear-highlight-light.svg b/assets/icons/medmind/clear-highlight-light.svg index 454dd9e..94fc078 100644 --- a/assets/icons/medmind/clear-highlight-light.svg +++ b/assets/icons/medmind/clear-highlight-light.svg @@ -1,5 +1,9 @@ - - - + + + + + + + diff --git a/assets/icons/medmind/clear-highlight-light.svg.import b/assets/icons/medmind/clear-highlight-light.svg.import index c18ede7..8c2773c 100644 --- a/assets/icons/medmind/clear-highlight-light.svg.import +++ b/assets/icons/medmind/clear-highlight-light.svg.import @@ -2,7 +2,7 @@ importer="texture" type="CompressedTexture2D" -uid="uid://bgpsqicfixhew" +uid="uid://4vrs2omb0iy6" path="res://.godot/imported/clear-highlight-light.svg-93f7a6cb5f22325bc90fadf2e89641fc.ctex" metadata={ "vram_texture": false diff --git a/scripts/ui/question_player.gd b/scripts/ui/question_player.gd index 68da0eb..d625eb9 100644 --- a/scripts/ui/question_player.gd +++ b/scripts/ui/question_player.gd @@ -3006,7 +3006,6 @@ func _set_choice_button_text(index: int, choice: Dictionary) -> void: var display_label := _display_label_for_index(index) if index < choice_badges.size(): choice_badges[index].text = display_label - choice_buttons[index].custom_minimum_size = Vector2(0, 54) _set_choice_percent_label(index, "") _set_choice_top_label(index, "") if locked_wrong_choice_ids.has(choice_id) or _should_show_correct_choice_percentage(choice_id):