mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Add dtp css class to panelBox while extension enabled
gh-2424
This commit is contained in:
@@ -1109,8 +1109,11 @@ export const Panel = GObject.registerClass(
|
||||
|
||||
_setPanelBoxStyle(disable) {
|
||||
this.panelBox.set_style('')
|
||||
this.panelBox.remove_style_class_name('dashtopanel')
|
||||
|
||||
if (!disable) {
|
||||
this.panelBox.add_style_class_name('dashtopanel')
|
||||
|
||||
let topBottomMargins = SETTINGS.get_int('panel-top-bottom-margins')
|
||||
let sideMargins = SETTINGS.get_int('panel-side-margins')
|
||||
let panelBoxTheme = this.panelBox.get_theme_node()
|
||||
|
||||
Reference in New Issue
Block a user