1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

revert useless changes

This commit is contained in:
bbedward
2025-10-15 14:52:53 -04:00
parent 3c531dc2ec
commit ed2afa03f9

View File

@@ -106,7 +106,6 @@ Item {
}
updateGpuTempConfig()
Qt.callLater(() => Qt.callLater(forceWidgetRefresh))
inhibitorInitTimer.start()
}
@@ -134,20 +133,6 @@ Item {
}
}
function forceWidgetRefresh() {
stackContainer.visible = false
Qt.callLater(() => {
stackContainer.visible = true
})
}
Connections {
target: barWindow
function on_DprChanged() {
Qt.callLater(forceWidgetRefresh)
}
}
function updateGpuTempConfig() {
const allWidgets = [...(SettingsData.dankBarLeftWidgets || []), ...(SettingsData.dankBarCenterWidgets || []), ...(SettingsData.dankBarRightWidgets || [])]