Skip to content

Commit 76bb935

Browse files
committed
revert: "ux: use the same style for popup"
This reverts commit d85f7ff. Sometimes, it results a transparent popup panel
1 parent 3257566 commit 76bb935

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/Views/Launcher.axaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,16 @@
259259
<DataTemplate DataType="vm:Popup">
260260
<Border Margin="8,0,8,8"
261261
Background="{DynamicResource Brush.Popup}"
262-
CornerRadius="0,0,4,4"
263-
BorderThickness="0"
264-
Effect="drop-shadow(0 0 8 #8F000000)">
262+
BorderBrush="{DynamicResource Brush.Border0}"
263+
CornerRadius="0,0,4,4">
264+
<Border.BorderThickness>
265+
<OnPlatform Default="0" Linux="1,0,1,1"/>
266+
</Border.BorderThickness>
267+
268+
<Border.Effect>
269+
<OnPlatform Default="drop-shadow(0 0 8 #8F000000)" Linux="{x:Null}"/>
270+
</Border.Effect>
271+
265272
<StackPanel Margin="8" Orientation="Vertical">
266273
<!-- Popup Widget -->
267274
<ContentPresenter Margin="0,8"

0 commit comments

Comments
 (0)