Skip to content

Commit

Permalink
Fixed #74
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost1372 committed Jun 10, 2021
1 parent 0c5a054 commit 9b17493
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Shared/HandyControl_Shared/Controls/Growl/Growl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ private static void InitGrowlPanel(Panel panel)
}
};

PanelElement.SetFluidMoveBehavior(panel, ResourceHelper.GetResourceInternal<FluidMoveBehavior>(ResourceToken.BehaviorXY400));
PanelElement.SetFluidMoveBehavior(panel, ResourceHelper.GetResource<FluidMoveBehavior>(ResourceToken.BehaviorXY400));
}

private void Update()
Expand Down Expand Up @@ -390,8 +390,8 @@ private static void ShowGlobal(GrowlInfo growlInfo)
{
Message = growlInfo.Message,
Time = time,
Icon = ResourceHelper.GetResourceInternal<Geometry>(growlInfo.IconKey),
IconBrush = ResourceHelper.GetResourceInternal<Brush>(growlInfo.IconBrushKey),
Icon = ResourceHelper.GetResource<Geometry>(growlInfo.IconKey),
IconBrush = ResourceHelper.GetResource<Brush>(growlInfo.IconBrushKey),
_showCloseButton = growlInfo.ShowCloseButton,
ActionBeforeClose = growlInfo.ActionBeforeClose,
_staysOpen = growlInfo.StaysOpen,
Expand Down Expand Up @@ -436,8 +436,8 @@ private static void Show(GrowlInfo growlInfo)
{
Message = growlInfo.Message,
Time = time,
Icon = ResourceHelper.GetResourceInternal<Geometry>(growlInfo.IconKey),
IconBrush = ResourceHelper.GetResourceInternal<Brush>(growlInfo.IconBrushKey),
Icon = ResourceHelper.GetResource<Geometry>(growlInfo.IconKey),
IconBrush = ResourceHelper.GetResource<Brush>(growlInfo.IconBrushKey),
_showCloseButton = growlInfo.ShowCloseButton,
ActionBeforeClose = growlInfo.ActionBeforeClose,
_staysOpen = growlInfo.StaysOpen,
Expand Down

0 comments on commit 9b17493

Please sign in to comment.