Skip to content

Commit

Permalink
fix: 占位空间点击区域穿透
Browse files Browse the repository at this point in the history
  • Loading branch information
LiuYunPlayer committed Nov 21, 2024
1 parent ee9df3e commit 2a0e32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TuneLab/UI/MainWindow/Editor/FunctionBar/FunctionBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public FunctionBar(IDependency dependency)
collapseButton.Switched.Subscribe(() => { collapseTextItem.Text = collapseButton.IsChecked ? "Hide Properties".Tr(this) : "Show Properties".Tr(this); CollapsePropertiesAsked?.Invoke(collapseButton.IsChecked); });
dockPanel.AddDock(collapseButton, Dock.Right);

dockPanel.AddDock(new Border() { Width = 240, Background = Brushes.Transparent }, Dock.Right);
dockPanel.AddDock(new Border() { Width = 240, Background = Brushes.Transparent, IsHitTestVisible = false }, Dock.Right);

void SetupToolTip(Control toggleButton,string ToolTipText)
{
Expand Down

0 comments on commit 2a0e32c

Please sign in to comment.