Skip to content

Commit

Permalink
fix: popup's window display abnormal
Browse files Browse the repository at this point in the history
it maybe a bug for deepin-kwin, and shadowRadius is set to tooltip.

Issue: linuxdeepin/developer-center#9616
  • Loading branch information
18202781743 committed Jul 15, 2024
1 parent 88a1002 commit e9f547b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion frame/qml/PanelPopupWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Window {
D.DWindow.windowRadius: (D.DTK.platformTheme.windowRadius < 0 ? 4 : D.DTK.platformTheme.windowRadius)
* Screen.devicePixelRatio
D.DWindow.enableBlurWindow: true
D.DWindow.shadowRadius: 8
// TODO set shadowOffset maunally.
D.DWindow.shadowOffset: Qt.point(0, 10)
D.ColorSelector.family: D.Palette.CrystalColor
Expand Down
1 change: 1 addition & 0 deletions frame/qml/PanelToolTipWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ PanelPopupWindow {
id: root

D.DWindow.windowRadius: 4 * Screen.devicePixelRatio
D.DWindow.shadowRadius: 8
}

0 comments on commit e9f547b

Please sign in to comment.