mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-12 16:53:07 +00:00
* Implemented except for clone layer bug * more asserts * Fixed the layer cloning bug * gdformat * Fixed new cels linked crash * Fixed old .pxo files * Removed default red color from LinkedIndicator in PixelCelButton scene Co-authored-by: MrTriPie <MrTriPie>
25 lines
946 B
Plaintext
25 lines
946 B
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://src/UI/Timeline/BaseCelButton.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://src/UI/Timeline/CelButton.gd" type="Script" id=2]
|
|
|
|
[node name="PixelCelButton" instance=ExtResource( 1 )]
|
|
rect_pivot_offset = Vector2( -18, 6 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="PopupMenu" type="PopupMenu" parent="." index="1"]
|
|
margin_right = 20.0
|
|
margin_bottom = 20.0
|
|
mouse_default_cursor_shape = 2
|
|
items = [ "Delete", null, 0, false, false, -1, 0, null, "", false, "Link Cels to", null, 0, false, false, -1, 0, null, "", false, "Unlink Cels", null, 0, false, false, 2, 0, null, "", false ]
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="LinkedIndicator" type="Polygon2D" parent="." index="2"]
|
|
invert_enable = true
|
|
invert_border = 1.0
|
|
polygon = PoolVector2Array( 0, 0, 36, 0, 36, 36, 0, 36 )
|
|
|
|
[connection signal="id_pressed" from="PopupMenu" to="." method="_on_PopupMenu_id_pressed"]
|