mirror of
https://github.com/Relintai/draw_gd.git
synced 2025-03-13 16:38:51 +01:00
Remove an anomation frame label.
This commit is contained in:
parent
18215be215
commit
c88a0bb306
@ -121,7 +121,6 @@ var patterns_popup : Popup
|
||||
var animation_timeline : Panel
|
||||
|
||||
var frame_ids : HBoxContainer
|
||||
var current_frame_mark_label : Label
|
||||
var layers_container : VBoxContainer
|
||||
var frames_container : VBoxContainer
|
||||
var tag_container : Control
|
||||
@ -228,7 +227,6 @@ func refresh_nodes():
|
||||
layers_container = find_node_by_name(animation_timeline, "LayersContainer")
|
||||
frames_container = find_node_by_name(animation_timeline, "FramesContainer")
|
||||
frame_ids = find_node_by_name(animation_timeline, "FrameIDs")
|
||||
current_frame_mark_label = find_node_by_name(control, "CurrentFrameMark")
|
||||
tag_container = find_node_by_name(animation_timeline, "TagContainer")
|
||||
tag_dialog = find_node_by_name(animation_timeline, "FrameTagDialog")
|
||||
|
||||
|
@ -428,7 +428,6 @@ func remove_cel_buttons() -> void:
|
||||
|
||||
func frame_changed(value : int) -> void:
|
||||
current_frame = value
|
||||
DrawGD.current_frame_mark_label.text = "%s/%s" % [str(current_frame + 1), frames.size()]
|
||||
|
||||
for i in frames.size():
|
||||
var text_color := Color.white
|
||||
|
@ -206,10 +206,7 @@ func save_project_file() -> void:
|
||||
DrawGD.control.is_quitting_on_save = false
|
||||
var path = DrawGD.opensave.current_save_paths[DrawGD.current_project_index]
|
||||
if path == "":
|
||||
if OS.get_name() == "HTML5":
|
||||
DrawGD.save_sprites_html5_dialog.popup_centered()
|
||||
else:
|
||||
DrawGD.save_sprites_dialog.popup_centered()
|
||||
DrawGD.save_sprites_dialog.popup_centered()
|
||||
DrawGD.dialog_open(true)
|
||||
else:
|
||||
DrawGD.control._on_SaveSprite_file_selected(path)
|
||||
@ -217,10 +214,7 @@ func save_project_file() -> void:
|
||||
|
||||
func save_project_file_as() -> void:
|
||||
DrawGD.control.is_quitting_on_save = false
|
||||
if OS.get_name() == "HTML5":
|
||||
DrawGD.save_sprites_html5_dialog.popup_centered()
|
||||
else:
|
||||
DrawGD.save_sprites_dialog.popup_centered()
|
||||
DrawGD.save_sprites_dialog.popup_centered()
|
||||
DrawGD.dialog_open(true)
|
||||
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
[ext_resource path="res://addons/draw_gd/src/UI/TopMenuContainer.gd" type="Script" id=2]
|
||||
|
||||
|
||||
[node name="TopMenuContainer" type="Panel"]
|
||||
margin_right = 1280.0
|
||||
margin_bottom = 28.0
|
||||
@ -77,35 +76,3 @@ margin_right = 128.0
|
||||
margin_bottom = 21.0
|
||||
text = "[64×64]"
|
||||
align = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -330.0
|
||||
margin_top = -10.0
|
||||
margin_right = 0.00012207
|
||||
margin_bottom = 13.0
|
||||
grow_horizontal = 2
|
||||
alignment = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CurrentFrame" type="Label" parent="HBoxContainer"]
|
||||
margin_left = 106.0
|
||||
margin_right = 198.0
|
||||
margin_bottom = 23.0
|
||||
size_flags_vertical = 1
|
||||
text = "Current frame:"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CurrentFrameMark" type="Label" parent="HBoxContainer"]
|
||||
margin_left = 202.0
|
||||
margin_right = 223.0
|
||||
margin_bottom = 23.0
|
||||
size_flags_vertical = 1
|
||||
text = "1/2"
|
||||
|
Loading…
Reference in New Issue
Block a user