mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-13 15:54:12 +09:00
Fix initial intellihide chrome not set on g-s 49
gh-2388
This commit is contained in:
@@ -73,6 +73,9 @@ export const Intellihide = class {
|
||||
)
|
||||
|
||||
this.enabled = false
|
||||
}
|
||||
|
||||
init() {
|
||||
this._changeEnabledStatus()
|
||||
}
|
||||
|
||||
|
||||
@@ -730,6 +730,8 @@ export const Panel = GObject.registerClass(
|
||||
this.taskbar.resetAppIcons(true)
|
||||
this.dynamicTransparency.updateExternalStyle()
|
||||
|
||||
if (this.intellihide?.enabled) this.intellihide.reset()
|
||||
|
||||
if (this.geom.vertical) {
|
||||
this.showAppsIconWrapper.realShowAppsIcon.toggleButton.set_width(
|
||||
this.geom.innerSize,
|
||||
|
||||
@@ -695,6 +695,9 @@ export const PanelManager = class {
|
||||
affectsStruts: true,
|
||||
})
|
||||
|
||||
// intellihide changes the chrome when enabled, so init after setting initial chrome params
|
||||
panel.intellihide.init()
|
||||
|
||||
this._findPanelMenuButtons(panelBox).forEach((pmb) =>
|
||||
this._adjustPanelMenuButton(pmb, monitor, panel.geom.position),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user