summaryrefslogtreecommitdiff
path: root/client/menu
diff options
context:
space:
mode:
Diffstat (limited to 'client/menu')
-rw-r--r--client/menu/communicate/item/item_message.gd2
-rw-r--r--client/menu/communicate/item/item_message.tscn1
-rw-r--r--client/menu/theme/style/item_bubble_progress_style.tres1
-rw-r--r--client/menu/theme/style/item_bubble_progress_style_background.tres2
4 files changed, 1 insertions, 5 deletions
diff --git a/client/menu/communicate/item/item_message.gd b/client/menu/communicate/item/item_message.gd
index 94fdf82d..9d30ed1f 100644
--- a/client/menu/communicate/item/item_message.gd
+++ b/client/menu/communicate/item/item_message.gd
@@ -69,6 +69,4 @@ func _process(delta):
var x: float = timeout_remaining / timeout_initial
var progress_style: StyleBoxFlat = progress.get_theme_stylebox("fill")
progress_style.bg_color = Color(min((1-x) * 2, 1), min(x * 2, 1), 0.)
- if progress_style.corner_radius_bottom_right != 0:
- progress_style.corner_radius_bottom_right = max(32.-(1.-x)*320, 0)
progress.add_theme_stylebox_override("fill", progress_style)
diff --git a/client/menu/communicate/item/item_message.tscn b/client/menu/communicate/item/item_message.tscn
index b607556a..9178afab 100644
--- a/client/menu/communicate/item/item_message.tscn
+++ b/client/menu/communicate/item/item_message.tscn
@@ -14,6 +14,7 @@ corner_radius_bottom_left = 30
[node name="ItemMessage" type="PanelContainer"]
auto_translate_mode = 2
+clip_children = 2
offset_right = 256.0
offset_bottom = 256.0
size_flags_vertical = 0
diff --git a/client/menu/theme/style/item_bubble_progress_style.tres b/client/menu/theme/style/item_bubble_progress_style.tres
index 69543f24..68054918 100644
--- a/client/menu/theme/style/item_bubble_progress_style.tres
+++ b/client/menu/theme/style/item_bubble_progress_style.tres
@@ -3,4 +3,3 @@
[resource]
resource_local_to_scene = true
bg_color = Color(0.501961, 0, 0, 1)
-corner_radius_bottom_left = 32
diff --git a/client/menu/theme/style/item_bubble_progress_style_background.tres b/client/menu/theme/style/item_bubble_progress_style_background.tres
index 9dbc753d..972b7055 100644
--- a/client/menu/theme/style/item_bubble_progress_style_background.tres
+++ b/client/menu/theme/style/item_bubble_progress_style_background.tres
@@ -2,5 +2,3 @@
[resource]
resource_local_to_scene = true
-corner_radius_bottom_right = 32
-corner_radius_bottom_left = 32