Commit 2bf7e0f2 authored by Javad Rahmatzadeh's avatar Javad Rahmatzadeh
Browse files

fix flickering panel on unlock

Related to #104
parent b2d96023
......@@ -6,6 +6,10 @@ We go to the next version after each release on [GNOME Shell Extensions website]
## [Unreleased]
### Fixed
- Flickering panel after Unlock.
### Added
- Dutch translation by [@Vistaus](https://gitlab.gnome.org/Vistaus).
......
......@@ -402,11 +402,11 @@ var API = class
this._timeoutIds['emitPanelPositionChanged']
= this._glib.timeout_add(this._glib.PRIORITY_IDLE, duration, () => {
delete(this._timeoutIds['emitPanelPositionChanged']);
panelBox.hide();
this._main.panel.height++;
this._timeoutIds['emitPanelPositionChangedIn2']
= this._glib.timeout_add(this._glib.PRIORITY_IDLE, 20, () => {
this._main.panel.height--;
delete(this._timeoutIds['emitPanelPositionChangedIn2']);
panelBox.show();
return this._glib.SOURCE_REMOVE;
});
return this._glib.SOURCE_REMOVE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment