Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
batzen committed Apr 4, 2020
2 parents c535f5e + 5de720d commit 7ce10de
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog for Fluent.Ribbon

## 7.1.0 (preview)
## 7.1.0
- ### Bug fixes
- [#745](../../issues/745) - SplitButton.IsEnabled based on Command.CanExecute?
- [#755](../../issues/755) - ComboBox.Height fixed at 22
Expand Down
2 changes: 1 addition & 1 deletion Fluent.Ribbon.Showcase/Fluent.Ribbon.Showcase.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<ItemGroup>
<ProjectReference Include="..\Fluent.Ribbon\Fluent.Ribbon.csproj" />

<PackageReference Include="MahApps.Metro" version="2.0.0-alpha*" />
<PackageReference Include="MahApps.Metro" version="2.0.0-alpha0660" />
<!-- Costura does not work with .net core 3.0 as of 4.0 -->
<!-- <PackageReference Include="Costura.Fody" version="4.*" PrivateAssets="All" Condition="'$(TargetFramework)' != 'netcoreapp3.0'" /> -->
</ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion Fluent.Ribbon.Showcase/TestContent.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -3207,7 +3207,8 @@ Pellentesque nec dolor sed lacus tristique rutrum sed vitae urna. Sed eu pharetr
Canvas.Top="-3"
Foreground="Red"
FontSize="0.2"
Padding="0">
Padding="0"
Panel.ZIndex="1">
Rectangle and Ellipse should be between green lines and Text 1 to 3 shouldn't overlap
</Label>
<Label Canvas.Left="-2.2"
Expand Down
6 changes: 3 additions & 3 deletions Fluent.Ribbon/Controls/Backstage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ private void ShowAdorner()
{
storyboard = storyboard.Clone();

storyboard.CurrentStateInvalidated += HanldeStoryboardCurrentStateInvalidated;
storyboard.CurrentStateInvalidated += HandleStoryboardCurrentStateInvalidated;
storyboard.Completed += HandleStoryboardOnCompleted;

storyboard.Begin(this.adorner);
Expand All @@ -447,10 +447,10 @@ private void ShowAdorner()
this.adorner.Visibility = Visibility.Visible;
}

void HanldeStoryboardCurrentStateInvalidated(object sender, EventArgs e)
void HandleStoryboardCurrentStateInvalidated(object sender, EventArgs e)
{
this.adorner.Visibility = Visibility.Visible;
storyboard.CurrentStateInvalidated -= HanldeStoryboardCurrentStateInvalidated;
storyboard.CurrentStateInvalidated -= HandleStoryboardCurrentStateInvalidated;
}

void HandleStoryboardOnCompleted(object sender, EventArgs args)
Expand Down
5 changes: 3 additions & 2 deletions Fluent.Ribbon/Themes/Controls/TwoLineLabel.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<Setter Property="Template"
Value="{DynamicResource TwoLineLabelControlTemplate}" />
</Style>

<ControlTemplate x:Key="TwoLineLabelControlTemplate"
TargetType="{x:Type Fluent:TwoLineLabel}">
<StackPanel x:Name="stackPanel"
Expand Down Expand Up @@ -88,14 +89,14 @@
Value="">
<Setter Property="Visibility"
TargetName="PART_TextRun2"
Value="Collapsed" />
Value="Hidden" />
</Trigger>
<Trigger Property="Text"
SourceName="PART_TextRun2"
Value="{x:Null}">
<Setter Property="Visibility"
TargetName="PART_TextRun2"
Value="Collapsed" />
Value="Hidden" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
Expand Down
2 changes: 1 addition & 1 deletion GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
assembly-versioning-scheme: Major
assembly-file-versioning-scheme: MajorMinorPatchTag
mode: ContinuousDeployment
next-version: 7.0.0
next-version: 7.1.0
branches:
master:
mode: ContinuousDeployment
Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ branches:
only:
- develop
- master
- /v\d*\.\d*\.\d*/

image: Visual Studio 2019
configuration: Release
Expand Down

0 comments on commit 7ce10de

Please sign in to comment.