Change selected frame label color based on theme

This commit is contained in:
OverloadedOrama 2020-05-06 01:36:14 +03:00
parent f99b486919
commit 3c39e28d72
6 changed files with 24 additions and 1 deletions

View file

@ -644,7 +644,7 @@ func frame_changed(value : int) -> void:
# Select the new canvas/frame
canvas = canvases[current_frame]
canvas.visible = true
frame_ids.get_child(current_frame).add_color_override("font_color", Color("#3c5d75"))
frame_ids.get_child(current_frame).add_color_override("font_color", control.theme.get_color("Selected Color", "Label"))
if current_frame < layers[current_layer][3].get_child_count():
layers[current_layer][3].get_child(current_frame).pressed = true