update
This commit is contained in:
@@ -212,7 +212,7 @@ func play_appear_animation(target_width: float) -> void:
|
||||
var should_hide_text = target_width < TEXT_HIDE_THRESHOLD
|
||||
|
||||
close_button.visible = not should_hide_close
|
||||
button.text = "" if should_hide_text else button.get_meta("original_text", "New Tab")
|
||||
button.text = "" if should_hide_text else button.get_meta("original_text", "新标签页")
|
||||
|
||||
var should_show_gradient = not should_hide_text and not should_hide_close
|
||||
gradient_texture.visible = should_show_gradient
|
||||
|
||||
Reference in New Issue
Block a user