fix(app): busy reasons on frame actions and curves; shot data lifts above the tools
- Exclude, Set hero and the curve editors say why they wait while a job runs. - The preview's shot data moves just above the tools when both do not fit in one row (1200 px window with labelled tools) instead of overlapping them. - The measuring preparation reads luminance only when the deep analysis has it or a module needs it, so an unanalysed sequence with no module on decodes nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
7 files changed
+84
-26
No files matched your search
@@ -89,7 +89,10 @@ public sealed class FrameRow(FramesTab owner, Frame frame, int index) : Observab
|
||||
|
||||
public string ExcludeText => Loc.L(IsExcluded ? "Editor.Frames.Include" : "Editor.Frames.Exclude");
|
||||
|
||||
public string ExcludeToolTip => Loc.L(IsExcluded ? "Tooltips.Editor.Frames.Include" : "Tooltips.Editor.Frames.Exclude");
|
||||
public string ExcludeToolTip => Loc.L(owner.Editor.IsBusy ? "Tooltips.Editor.Busy" : IsExcluded ? "Tooltips.Editor.Frames.Include" : "Tooltips.Editor.Frames.Exclude");
|
||||
|
||||
/// <summary>A job of the sequence started or ended: the action tooltips say why they wait.</summary>
|
||||
public void RefreshBusy() => OnPropertyChanged(nameof(ExcludeToolTip));
|
||||
|
||||
/// <summary>The project's exclusions or hero changed.</summary>
|
||||
public void Refresh()
|
||||
@@ -176,7 +179,10 @@ public sealed class FramesTab : EditorTab
|
||||
|
||||
public string CurrentExcludeText => Loc.L(IsCurrentExcluded ? "Editor.Frames.IncludeFrame" : "Editor.Frames.ExcludeFrame");
|
||||
|
||||
public string CurrentExcludeToolTip => Loc.L(IsCurrentExcluded ? "Tooltips.Editor.Frames.Include" : "Tooltips.Editor.Frames.Exclude");
|
||||
public string CurrentExcludeToolTip => Loc.L(Editor.IsBusy ? "Tooltips.Editor.Busy" : IsCurrentExcluded ? "Tooltips.Editor.Frames.Include" : "Tooltips.Editor.Frames.Exclude");
|
||||
|
||||
/// <summary>What Set hero does, or why it waits.</summary>
|
||||
public string HeroToolTip => Loc.L(Editor.IsBusy ? "Tooltips.Editor.Busy" : "Tooltips.Editor.Frames.Hero");
|
||||
|
||||
public override bool CanReset => false;
|
||||
|
||||
@@ -224,6 +230,14 @@ public sealed class FramesTab : EditorTab
|
||||
base.OnContentChanged();
|
||||
}
|
||||
|
||||
public override void OnBusyChanged()
|
||||
{
|
||||
base.OnBusyChanged();
|
||||
OnPropertyChanged(nameof(HeroToolTip));
|
||||
OnPropertyChanged(nameof(CurrentExcludeToolTip));
|
||||
foreach (var row in _rows) row.RefreshBusy();
|
||||
}
|
||||
|
||||
public override void OnCurrentFrameChanged()
|
||||
{
|
||||
var index = Editor.CurrentIndex;
|
||||
|
||||
Reference in new issue
Block a user