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:
@@ -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 || [])]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user