mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-07 19:09:50 +00:00
* Fixed link cel indicator color and animation tags position * New scrolling and min size * fixed dockable container for the timeline min size * Cleanup * Tweaked minimum size * Removed some hacks that are no longer needed * Fixed frame scrollbar not being in the right place at startup, added ensure_control_visible * frame scroll horziontally without shift if can't scroll vertically + min size tweaks * Renamed the frames/layer/cel containers * Always scroll by whole frames * Fixed conflict * reoranized AnimationTimeline scene's node tree to wrok as expected * tweaks * Fixed tag position and removed uneeded layer button theme code * added the icon theme code back, I thought this was for the timeline XD * Smaller LayerButtons * Save Layer and Cel size between sessions * Combined _on_AddLayer_pressed and _on_AddGroup_pressed into 1 add_layer method * Rename scroll container * formatting Co-authored-by: MrTriPie <MrTriPie>
26 lines
974 B
Plaintext
26 lines
974 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"]
|
|
color = Color( 0, 1, 0, 1 )
|
|
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"]
|