diff options
| author | tpart <tpart120@proton.me> | 2025-06-06 18:27:44 +0200 | 
|---|---|---|
| committer | tpart <tpart120@proton.me> | 2025-06-06 18:27:44 +0200 | 
| commit | 215650b4cbe242cedb19ab3d096e47c653563263 (patch) | |
| tree | 8389ae278cf49261277892f3da71c3a3264de1cb /client/menu/communicate | |
| parent | 22d5a487627bccd9f8f99895f04d9107107b7a6b (diff) | |
| download | hurrycurry-215650b4cbe242cedb19ab3d096e47c653563263.tar hurrycurry-215650b4cbe242cedb19ab3d096e47c653563263.tar.bz2 hurrycurry-215650b4cbe242cedb19ab3d096e47c653563263.tar.zst | |
Prevent ItemBubble progress bar from sticking out (Fixes #296)
Diffstat (limited to 'client/menu/communicate')
| -rw-r--r-- | client/menu/communicate/item/item_message.gd | 2 | ||||
| -rw-r--r-- | client/menu/communicate/item/item_message.tscn | 1 | 
2 files changed, 1 insertions, 2 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 | 
