diff options
| author | dam <dam@gudinoff> | 2022-06-22 13:40:01 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2022-06-22 13:40:01 +0000 |
| commit | 44d634db3f42ae60b42a1a20892d11faabc3c1b0 (patch) | |
| tree | 4746d0f4ee812b7fd4d5abfa7e6e9bcec0471825 /ui/modal_popup | |
| parent | bc7df6808b404f96dd8a0677a90b4dcfaf9eca47 (diff) | |
| download | surgery-log-44d634db3f42ae60b42a1a20892d11faabc3c1b0.tar.zst surgery-log-44d634db3f42ae60b42a1a20892d11faabc3c1b0.zip | |
Night theme completed.
Diffstat (limited to 'ui/modal_popup')
| -rw-r--r-- | ui/modal_popup/modal_popup.gd | 2 | ||||
| -rw-r--r-- | ui/modal_popup/modal_popup.tscn | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/ui/modal_popup/modal_popup.gd b/ui/modal_popup/modal_popup.gd index 857f90e..2a45f38 100644 --- a/ui/modal_popup/modal_popup.gd +++ b/ui/modal_popup/modal_popup.gd @@ -42,7 +42,7 @@ func open_popup(title: String, item: Control): if visible == true: return - self.color = get_color("background", "theme") + self.color = get_color("background", "Misc") self.color.a = 0.85 self.title.text = title diff --git a/ui/modal_popup/modal_popup.tscn b/ui/modal_popup/modal_popup.tscn index 3814bef..4ee5939 100644 --- a/ui/modal_popup/modal_popup.tscn +++ b/ui/modal_popup/modal_popup.tscn @@ -17,11 +17,10 @@ anchor_right = 0.95 anchor_bottom = 0.975 [node name="title" type="Label" parent="."] -anchor_left = 0.124 +anchor_left = 0.15 anchor_top = 0.025 anchor_right = 0.95 anchor_bottom = 0.1 -margin_left = 0.0799866 margin_right = -80.0 margin_bottom = -20.0 align = 1 @@ -31,10 +30,9 @@ autowrap = true [node name="dismiss" type="Button" parent="."] anchor_left = 0.05 anchor_top = 0.025 -anchor_right = 0.124 +anchor_right = 0.15 anchor_bottom = 0.1 margin_right = 0.0799866 margin_bottom = -20.0 custom_fonts/font = ExtResource( 2 ) text = "" -flat = true |
