mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-15 00:34:05 +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) {
|
_setPanelBoxStyle(disable) {
|
||||||
this.panelBox.set_style('')
|
this.panelBox.set_style('')
|
||||||
|
this.panelBox.remove_style_class_name('dashtopanel')
|
||||||
|
|
||||||
if (!disable) {
|
if (!disable) {
|
||||||
|
this.panelBox.add_style_class_name('dashtopanel')
|
||||||
|
|
||||||
let topBottomMargins = SETTINGS.get_int('panel-top-bottom-margins')
|
let topBottomMargins = SETTINGS.get_int('panel-top-bottom-margins')
|
||||||
let sideMargins = SETTINGS.get_int('panel-side-margins')
|
let sideMargins = SETTINGS.get_int('panel-side-margins')
|
||||||
let panelBoxTheme = this.panelBox.get_theme_node()
|
let panelBoxTheme = this.panelBox.get_theme_node()
|
||||||
|
|||||||
Reference in New Issue
Block a user