Skip to content

Commit

Permalink
Merge pull request #1216 from b-editor/improve-output-view
Browse files Browse the repository at this point in the history
Display output dialog content in tabs
  • Loading branch information
yuto-trd authored Dec 28, 2024
2 parents c5edf55 + aae3c65 commit 0c557cb
Show file tree
Hide file tree
Showing 29 changed files with 722 additions and 708 deletions.
2 changes: 2 additions & 0 deletions src/Beutl.Extensibility/OutputExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ public interface IOutputContext : IDisposable, IJsonSerializable

string TargetFile { get; }

IReactiveProperty<string> Name { get; }

IReadOnlyReactiveProperty<bool> IsIndeterminate { get; }

IReadOnlyReactiveProperty<bool> IsEncoding { get; }
Expand Down
75 changes: 0 additions & 75 deletions src/Beutl/Pages/AddOutputQueueDialog.axaml

This file was deleted.

74 changes: 0 additions & 74 deletions src/Beutl/Pages/AddOutputQueueDialog.axaml.cs

This file was deleted.

74 changes: 0 additions & 74 deletions src/Beutl/Pages/OutputDialog.axaml

This file was deleted.

108 changes: 0 additions & 108 deletions src/Beutl/Pages/OutputDialog.axaml.cs

This file was deleted.

1 change: 0 additions & 1 deletion src/Beutl/Services/EditorService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ public void ActivateTabItem(string? file)

if (ext?.TryCreateContext(file, out IEditorContext? context) == true)
{
context.IsEnabled.Value = !OutputService.Current.Items.Any(x => x.Context.TargetFile == file && x.Context.IsEncoding.Value);
var tabItem2 = new EditorTabItem(context)
{
IsSelected =
Expand Down
Loading

0 comments on commit 0c557cb

Please sign in to comment.