diff --git a/assets/graphics/recorder/start.png b/assets/graphics/recorder/start.png index d030cbcc4..889697ceb 100644 Binary files a/assets/graphics/recorder/start.png and b/assets/graphics/recorder/start.png differ diff --git a/assets/graphics/recorder/stop.png b/assets/graphics/recorder/stop.png index 238fa3b7b..5d6eca2ee 100644 Binary files a/assets/graphics/recorder/stop.png and b/assets/graphics/recorder/stop.png differ diff --git a/src/UI/Recorder/Recorder.gd b/src/UI/Recorder/Recorder.gd index caffce80b..b0421c602 100644 --- a/src/UI/Recorder/Recorder.gd +++ b/src/UI/Recorder/Recorder.gd @@ -55,6 +55,7 @@ class Recorder: dir.make_dir_recursive(save_directory) project.removed.connect(recorder_panel.finalize_recording.bind(project)) project.undo_redo.version_changed.connect(capture_frame) + recorder_panel.captured_label.text = "" func _notification(what: int) -> void: if what == NOTIFICATION_PREDELETE: @@ -100,6 +101,9 @@ func _on_project_switched() -> void: initialize_recording() start_button.set_pressed_no_signal(true) Global.change_button_texturerect(start_button.get_child(0), "stop.png") + captured_label.text = str( + "Saved: ", recorded_projects[Global.current_project].frames_captured + ) else: finalize_recording() start_button.set_pressed_no_signal(false) diff --git a/src/UI/Recorder/Recorder.tscn b/src/UI/Recorder/Recorder.tscn index 5204fcf88..6c1bac402 100644 --- a/src/UI/Recorder/Recorder.tscn +++ b/src/UI/Recorder/Recorder.tscn @@ -40,15 +40,18 @@ mouse_default_cursor_shape = 2 toggle_mode = true [node name="TextureRect" type="TextureRect" parent="ScrollContainer/CenterContainer/GridContainer/Start"] -layout_mode = 0 +layout_mode = 1 +anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 -offset_left = -10.0 -offset_top = -10.5 -offset_right = 10.0 -offset_bottom = 10.5 +offset_left = -11.0 +offset_top = -11.0 +offset_right = 11.0 +offset_bottom = 11.0 +grow_horizontal = 2 +grow_vertical = 2 texture = ExtResource("1") expand_mode = 1 stretch_mode = 5 @@ -74,7 +77,7 @@ offset_bottom = 10.5 texture = ExtResource("3") stretch_mode = 5 -[node name="OpenFolder" type="Button" parent="ScrollContainer/CenterContainer/GridContainer"] +[node name="OpenFolder" type="Button" parent="ScrollContainer/CenterContainer/GridContainer" groups=["UIButtons"]] custom_minimum_size = Vector2(32, 32) layout_mode = 2 tooltip_text = "Open Folder"