1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-02 21:47:22 +03:00

reduce minimum hide timer interval to zero

This commit is contained in:
Michail Vourlakos 2020-08-02 03:23:00 +03:00
parent 95cd703333
commit b808fa2559
2 changed files with 10 additions and 1 deletions

View File

@ -42,7 +42,11 @@
//! Hide Timer can create cases that when it is low it does not allow the
//! view to be show. For example !compositing+kwin_edges+hide inteval<50ms
const int HIDEMINIMUMINTERVAL = 50;
//! FIXED: As it appears because we dont hide any view anymore before its sliding in
//! animation has ended that probably allows to set the hide minimum interval to zero
//! without any further issues, such as to not show the view even though the
//! user is touching the screen edge
const int HIDEMINIMUMINTERVAL = 0;
//! After calling SidebarAutoHide panel to show for example through Sidebar button
//! or global shortcuts we make sure bar will be shown enough time
//! in order for the user to observe its contents

View File

@ -439,6 +439,11 @@ Item{
}
function slotMustBeHide() {
if (inSlidingIn) {
/*consider hiding after sliding in has finished*/
return;
}
if (latteView && latteView.visibility.mode === LatteCore.Types.WindowsCanCover) {
latteView.visibility.setViewOnBackLayer();
return;