mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Merge pull request #1722 from T99Rots/master
fix for issue #1676 by adding checking for button 0
This commit is contained in:
5
panel.js
5
panel.js
@@ -1061,6 +1061,11 @@ export const Panel = GObject.registerClass({
|
||||
|
||||
this._setShowDesktopButtonStyle();
|
||||
|
||||
this._showDesktopButton.connect('touch-event', (actor, event) => {
|
||||
if (event.type() == Clutter.EventType.TOUCH_BEGIN) {
|
||||
this._onShowDesktopButtonPress();
|
||||
}
|
||||
});
|
||||
this._showDesktopButton.connect('button-press-event', () => this._onShowDesktopButtonPress());
|
||||
this._showDesktopButton.connect('enter-event', () => {
|
||||
this._showDesktopButton.add_style_class_name(this._getBackgroundBrightness() ?
|
||||
|
||||
Reference in New Issue
Block a user