File tree Expand file tree Collapse file tree 5 files changed +11
-17
lines changed Expand file tree Collapse file tree 5 files changed +11
-17
lines changed Original file line number Diff line number Diff line change 3838 <DefineConstants >$(DefineConstants);DISABLE_XAML_GENERATED_MAIN</DefineConstants >
3939 </PropertyGroup >
4040
41- <ItemGroup >
42- <Compile Remove =" Terminal\**" />
43- <Content Remove =" Terminal\**" />
44- <EmbeddedResource Remove =" Terminal\**" />
45- <None Remove =" Terminal\**" />
46- <Page Remove =" Terminal\**" />
47- <PRIResource Remove =" Terminal\**" />
48- </ItemGroup >
49-
5041 <ItemGroup >
5142 <Manifest Include =" app.manifest" />
5243 <Content Update =" Assets\Resources\**" >
6960 <Content Include =" 7zArm64.dll" >
7061 <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
7162 </Content >
63+ <Content Include =" Utils\Terminal\UI\bundle.js" />
64+ <Content Include =" Utils\Terminal\UI\index.html" />
65+ <Content Include =" Utils\Terminal\UI\style.css" />
66+ <Content Include =" Utils\Terminal\UI\xterm.css" />
7267 </ItemGroup >
7368
7469 <ItemGroup >
Original file line number Diff line number Diff line change 2121 HorizontalAlignment=" Stretch"
2222 VerticalAlignment=" Stretch"
2323 DefaultBackgroundColor=" Transparent"
24- Loaded=" WebViewControl_LoadedAsync " />
24+ Loaded=" WebViewControl_Loaded " />
2525
2626 </Border >
2727</UserControl >
Original file line number Diff line number Diff line change 3131 <ColumnDefinition />
3232 <ColumnDefinition Width =" Auto" />
3333 <ColumnDefinition Width =" Auto" />
34+ <ColumnDefinition Width =" Auto" />
3435 </Grid .ColumnDefinitions>
3536
3637 <!-- Folder and selection info -->
322323 x:Load=" {x:Bind MainPageViewModel.IsTerminalViewOpen, Mode=OneWay}"
323324 Background=" Transparent"
324325 BorderBrush=" Transparent"
325- Command=" {x:Bind MainPageViewModel.TerminalSyncUpCommand}" >
326+ Command=" {x:Bind MainPageViewModel.TerminalSyncUpCommand, Mode=OneWay }" >
326327 <Button .Content>
327328 <FontIcon FontSize =" 12" Glyph ="  " />
328329 </Button .Content>
336337 x:Load=" {x:Bind MainPageViewModel.IsTerminalViewOpen, Mode=OneWay}"
337338 Background=" Transparent"
338339 BorderBrush=" Transparent"
339- Command=" {x:Bind MainPageViewModel.TerminalSyncDownCommand}" >
340+ Command=" {x:Bind MainPageViewModel.TerminalSyncDownCommand, Mode=OneWay }" >
340341 <Button .Content>
341342 <FontIcon FontSize =" 12" Glyph ="  " />
342343 </Button .Content>
350351 AutomationProperties.Name=" Toggle terminal"
351352 Background=" Transparent"
352353 BorderBrush=" Transparent"
353- Command=" {x:Bind MainPageViewModel.TerminalToggleCommand}" >
354+ Command=" {x:Bind MainPageViewModel.TerminalToggleCommand, Mode=OneWay }" >
354355 <SplitButton .Content>
355356 <StackPanel Orientation =" Horizontal" Spacing =" 8" >
356357 <FontIcon FontSize =" 12" Glyph ="  " />
Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ private void UpdateStatusBarProperties()
189189 {
190190 StatusBar . StatusBarViewModel = SidebarAdaptiveViewModel . PaneHolder ? . ActivePaneOrColumn . SlimContentPage ? . StatusBarViewModel ;
191191 StatusBar . SelectedItemsPropertiesViewModel = SidebarAdaptiveViewModel . PaneHolder ? . ActivePaneOrColumn . SlimContentPage ? . SelectedItemsPropertiesViewModel ;
192+ StatusBar . MainPageViewModel = ViewModel ;
192193 }
193194 }
194195
Original file line number Diff line number Diff line change 174174 <wctcontrols : SettingsCard .HeaderIcon>
175175 <FontIcon Glyph ="  " />
176176 </wctcontrols : SettingsCard .HeaderIcon>
177- <ToggleSwitch
178- AutomationProperties.Name=" {helpers:ResourceString Name=SettingsTerminalIntegration}"
179- IsOn=" {x:Bind ViewModel.IsTerminalIntegrationEnabled, Mode=TwoWay}"
180- Style=" {StaticResource RightAlignedToggleSwitchStyle}" />
177+ <ToggleSwitch AutomationProperties.Name=" {helpers:ResourceString Name=SettingsTerminalIntegration}" IsOn =" {x:Bind ViewModel.IsTerminalIntegrationEnabled, Mode=TwoWay}" />
181178 </wctcontrols : SettingsCard >
182179 </StackPanel >
183180 </Grid >
You can’t perform that action at this time.
0 commit comments