Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 2f3f06d

Browse files
committed
Typo oops!
1 parent 9345975 commit 2f3f06d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/GitHub.UI/Controls/ScollingVerticalStackPanel.cs renamed to src/GitHub.UI/Controls/ScrollingVerticalStackPanel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace GitHub.UI.Controls
1616
/// panel in WPF which allows the horizontal scrollbar to always be present at the bottom while
1717
/// also making the PR description etc be fixed horizontally (non-scrollable) in the viewport.
1818
/// </remarks>
19-
public class ScollingVerticalStackPanel : Panel, IScrollInfo
19+
public class ScrollingVerticalStackPanel : Panel, IScrollInfo
2020
{
2121
const int lineSize = 16;
2222
const int mouseWheelSize = 48;
@@ -29,7 +29,7 @@ public class ScollingVerticalStackPanel : Panel, IScrollInfo
2929
DependencyProperty.RegisterAttached(
3030
"IsFixed",
3131
typeof(bool),
32-
typeof(ScollingVerticalStackPanel),
32+
typeof(ScrollingVerticalStackPanel),
3333
new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsMeasure));
3434

3535
public bool CanHorizontallyScroll

src/GitHub.UI/GitHub.UI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<DesignTime>True</DesignTime>
8686
<DependentUpon>OcticonPaths.resx</DependentUpon>
8787
</Compile>
88-
<Compile Include="Controls\ScollingVerticalStackPanel.cs" />
88+
<Compile Include="Controls\ScrollingVerticalStackPanel.cs" />
8989
<Compile Include="Controls\SectionControl.cs" />
9090
<Compile Include="Controls\Spinner.xaml.cs">
9191
<DependentUpon>Spinner.xaml</DependentUpon>

src/GitHub.VisualStudio/Views/GitHubPane/PullRequestDetailView.xaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@
166166
Margin="0,0,-8,0"
167167
HorizontalScrollBarVisibility="Auto"
168168
VerticalScrollBarVisibility="Auto">
169-
<ghfvs:ScollingVerticalStackPanel>
169+
<ghfvs:ScrollingVerticalStackPanel>
170170

171171
<StackPanel Orientation="Horizontal"
172172
Margin="0 -4 0 0"
173-
ghfvs:ScollingVerticalStackPanel.IsFixed="true">
173+
ghfvs:ScrollingVerticalStackPanel.IsFixed="true">
174174
<ghfvs:GitHubActionLink Margin="0 6" Command="{Binding OpenOnGitHub}">
175175
View on GitHub
176176
</ghfvs:GitHubActionLink>
@@ -246,7 +246,7 @@
246246
<ghfvs:SectionControl Name="descriptionSection"
247247
HeaderText="Description"
248248
IsExpanded="True"
249-
ghfvs:ScollingVerticalStackPanel.IsFixed="true">
249+
ghfvs:ScrollingVerticalStackPanel.IsFixed="true">
250250
<StackPanel Orientation="Vertical">
251251
<!-- View conversation on GitHub -->
252252
<StackPanel Orientation="Horizontal" Margin="0 4 0 0">
@@ -271,7 +271,7 @@
271271
HeaderText="Reviewers"
272272
IsExpanded="True"
273273
Margin="0 8 0 0"
274-
ghfvs:ScollingVerticalStackPanel.IsFixed="true">
274+
ghfvs:ScrollingVerticalStackPanel.IsFixed="true">
275275
<ItemsControl ItemsSource="{Binding Reviews}" Margin="0 4 12 4">
276276
<ItemsControl.ItemTemplate>
277277
<DataTemplate>
@@ -287,13 +287,13 @@
287287
IsExpanded="True"
288288
HeaderText="{Binding Files.ChangedFilesCount, StringFormat={x:Static prop:Resources.ChangesCountFormat}}"
289289
Margin="0 8 10 0"
290-
ghfvs:ScollingVerticalStackPanel.IsFixed="true"/>
290+
ghfvs:ScrollingVerticalStackPanel.IsFixed="true"/>
291291

292292
<!-- Put the changes tree outside its expander, so it can scroll horizontally
293293
while the header remains fixed -->
294294
<local:PullRequestFilesView DataContext="{Binding Files}"
295295
Visibility="{Binding ElementName=changesSection, Path=IsExpanded, Converter={ghfvs:BooleanToVisibilityConverter}}"/>
296-
</ghfvs:ScollingVerticalStackPanel>
296+
</ghfvs:ScrollingVerticalStackPanel>
297297
</ScrollViewer>
298298
</DockPanel>
299299
</local:GenericPullRequestDetailView>

0 commit comments

Comments
 (0)