mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
Remove useless rounding
This commit is contained in:
@@ -84,8 +84,8 @@ PanelWindow {
|
||||
id: contentContainer
|
||||
layer.enabled: true
|
||||
|
||||
readonly property real screenWidth: root.screen ? root.screen.width : 1920
|
||||
readonly property real screenHeight: root.screen ? root.screen.height : 1080
|
||||
readonly property real screenWidth: root.screen.width
|
||||
readonly property real screenHeight: root.screen.height
|
||||
readonly property real gothOffset: SettingsData.dankBarGothCornersEnabled ? Theme.cornerRadius : 0
|
||||
readonly property real calculatedX: {
|
||||
if (SettingsData.dankBarPosition === SettingsData.Position.Left) {
|
||||
@@ -108,8 +108,8 @@ PanelWindow {
|
||||
}
|
||||
}
|
||||
|
||||
width: Math.round(popupWidth)
|
||||
height: Math.round(popupHeight)
|
||||
width: popupWidth
|
||||
height: popupHeight
|
||||
x: Math.round(calculatedX)
|
||||
y: Math.round(calculatedY)
|
||||
opacity: shouldBeVisible ? 1 : 0
|
||||
@@ -122,8 +122,6 @@ PanelWindow {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loader {
|
||||
id: contentLoader
|
||||
anchors.fill: parent
|
||||
|
||||
Reference in New Issue
Block a user