aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/date_picker/date_picker.tscn4
-rw-r--r--ui/modal_popup/modal_popup.gd4
2 files changed, 5 insertions, 3 deletions
diff --git a/ui/date_picker/date_picker.tscn b/ui/date_picker/date_picker.tscn
index e3d88c4..0e2e64e 100644
--- a/ui/date_picker/date_picker.tscn
+++ b/ui/date_picker/date_picker.tscn
@@ -174,7 +174,7 @@ __meta__ = {
anchor_top = 0.333
anchor_right = 1.0
anchor_bottom = 0.343
-color = Color( 1, 1, 1, 0.25 )
+color = Color( 0.501961, 0.501961, 0.501961, 0.501961 )
__meta__ = {
"_edit_use_anchors_": false
}
@@ -183,7 +183,7 @@ __meta__ = {
anchor_top = 0.666
anchor_right = 1.0
anchor_bottom = 0.676
-color = Color( 1, 1, 1, 0.25 )
+color = Color( 0.501961, 0.501961, 0.501961, 0.501961 )
__meta__ = {
"_edit_use_anchors_": false
}
diff --git a/ui/modal_popup/modal_popup.gd b/ui/modal_popup/modal_popup.gd
index 95fc2c3..857f90e 100644
--- a/ui/modal_popup/modal_popup.gd
+++ b/ui/modal_popup/modal_popup.gd
@@ -1,4 +1,4 @@
-extends Control
+extends ColorRect
class_name ModalPopup
signal dismissed # ()
@@ -42,6 +42,8 @@ func open_popup(title: String, item: Control):
if visible == true:
return
+ self.color = get_color("background", "theme")
+ self.color.a = 0.85
self.title.text = title
control = item