diff --git a/src/UI/Timeline/LayerButton.gd b/src/UI/Timeline/LayerButton.gd index bafbc39d4..edfba951c 100644 --- a/src/UI/Timeline/LayerButton.gd +++ b/src/UI/Timeline/LayerButton.gd @@ -31,12 +31,14 @@ func _ready() -> void: var hierarchy_depth := Global.current_project.layers[layer].get_hierarchy_depth() hierarchy_spacer.custom_minimum_size.x = hierarchy_depth * HIERARCHY_DEPTH_PIXEL_SHIFT - if Global.control.theme.get_color("font_color", "Button").v > 0.5: # Light3D text is dark theme + if Global.control.theme.get_color("font_color", "Button").v > 0.5: # Light text is dark theme self_modulate.v = 1 + hierarchy_depth * 0.4 else: # Dark text should be light theme self_modulate.v = 1 - hierarchy_depth * 0.075 update_buttons() + await get_tree().process_frame + queue_redraw() func update_buttons() -> void: