mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 07:52:50 -05:00
revert useless changes
This commit is contained in:
@@ -106,7 +106,6 @@ Item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
updateGpuTempConfig()
|
updateGpuTempConfig()
|
||||||
Qt.callLater(() => Qt.callLater(forceWidgetRefresh))
|
|
||||||
|
|
||||||
inhibitorInitTimer.start()
|
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() {
|
function updateGpuTempConfig() {
|
||||||
const allWidgets = [...(SettingsData.dankBarLeftWidgets || []), ...(SettingsData.dankBarCenterWidgets || []), ...(SettingsData.dankBarRightWidgets || [])]
|
const allWidgets = [...(SettingsData.dankBarLeftWidgets || []), ...(SettingsData.dankBarCenterWidgets || []), ...(SettingsData.dankBarRightWidgets || [])]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user