mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
apply patch from @darkblaze69
This commit is contained in:
@@ -95,7 +95,7 @@ export const PreviewMenu = GObject.registerClass({
|
||||
y_expand: !this.isVertical
|
||||
});
|
||||
|
||||
this._scrollView.add_actor(this._box);
|
||||
this._scrollView.add_child(this._box);
|
||||
this.menu.add_child(this._scrollView);
|
||||
this.add_child(this.menu);
|
||||
}
|
||||
@@ -712,7 +712,7 @@ export const Preview = GObject.registerClass({
|
||||
let [previewBinWidth, previewBinHeight] = this._getBinSize();
|
||||
let closeButton = new St.Button({ style_class: 'window-close', accessible_name: 'Close window' });
|
||||
|
||||
closeButton.add_actor(new St.Icon({ icon_name: 'window-close-symbolic' }));
|
||||
closeButton.add_child(new St.Icon({ icon_name: 'window-close-symbolic' }));
|
||||
|
||||
this._closeButtonBin = new St.Widget({
|
||||
style_class: 'preview-close-btn-container',
|
||||
|
||||
Reference in New Issue
Block a user