Skip to content

Commit

Permalink
DragGhostが透明になるのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yuto-trd committed Sep 5, 2024
1 parent a555a07 commit df47a5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ReDocking/DockAreaDragDropBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using Avalonia.Controls.Primitives;
using Avalonia.Input;
using Avalonia.Layout;
using Avalonia.Markup.Xaml.MarkupExtensions;
using Avalonia.Media;
using Avalonia.VisualTree;
using Avalonia.Xaml.Interactivity;
Expand Down Expand Up @@ -127,7 +128,7 @@ private void CreateDragGhost()
{
DragGhost = new Border
{
Background = AssociatedObject!.FindResource("ReDockingGhostBackground") as IBrush,
[!Border.BackgroundProperty] = new DynamicResourceExtension("ReDockingGhostBackground"),
IsHitTestVisible = false,
HorizontalAlignment = HorizontalAlignment.Stretch,
VerticalAlignment = VerticalAlignment.Stretch
Expand Down

0 comments on commit df47a5e

Please sign in to comment.