Skip to content

Commit

Permalink
Adding camera name to window title
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodrigv committed Apr 18, 2021
1 parent 5179cef commit edf56b3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OfCourseIStillLoveYou.DesktopClient/MainWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="800" Width="800" Height="800"
x:Class="OfCourseIStillLoveYou.DesktopClient.MainWindow"
Title="OfCourseIStillLoveYou.DesktopClient">
Title="OfCourseIStillLoveYou.DesktopClient" Name="MainWindow">


<Panel Background="Black" >
Expand Down
3 changes: 3 additions & 0 deletions OfCourseIStillLoveYou.DesktopClient/MainWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ private void CameraTextureWorker()
sb.AppendLine(CurretCameraData.Altitude);
sb.AppendLine(CurretCameraData.Speed);
textInfo.Text = sb.ToString();
Window window = this.FindControl<Window>("MainWindow");
window.Title = CurretCameraData.CameraName;
}
}));
});
Expand Down
4 changes: 2 additions & 2 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
* Removing Scatterer hard dependency
* Using PartialDepthBuffer from Scatterer if possible
* Desktop Client: For better cinematic view it is possible now to hide telemetry and UI controls by doing double-tap on the UI. Fixes #1
* Desktop Client: Adding camera name to window title.

0 comments on commit edf56b3

Please sign in to comment.