[gd_scene load_steps=3 format=2]

[ext_resource path="res://src/UI/Timeline/BaseLayerButton.tscn" type="PackedScene" id=1]
[ext_resource path="res://assets/graphics/layers/unlinked_layer.png" type="Texture" id=4]

[node name="PixelLayerButton" instance=ExtResource( 1 )]

[node name="LayerButtons" parent="HBoxContainer" index="1"]
margin_right = 122.0

[node name="LinkButton" type="ToolButton" parent="HBoxContainer/LayerButtons" index="3" groups=["UIButtons"]]
margin_left = 96.0
margin_top = 7.0
margin_right = 118.0
margin_bottom = 29.0
rect_min_size = Vector2( 22, 22 )
hint_tooltip = "Enable/disable automatic linking of new cels when creating new frames

Linked cels share content across multiple frames"
mouse_default_cursor_shape = 2
size_flags_horizontal = 0
size_flags_vertical = 4

[node name="TextureRect" type="TextureRect" parent="HBoxContainer/LayerButtons/LinkButton" index="0"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -11.0
margin_top = -11.0
margin_right = 11.0
margin_bottom = 11.0
size_flags_horizontal = 0
size_flags_vertical = 0
texture = ExtResource( 4 )

[connection signal="pressed" from="HBoxContainer/LayerButtons/LinkButton" to="." method="_on_LinkButton_pressed"]
