appDisplay: Reduce folder dialog popdown timeout

1500ms is too long of a delay, and it confuses people more than it
helps with accidental drops.

Reduce the timeout to 500ms as per design feedback.

Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3092

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1447
This commit is contained in:
Georges Basile Stavracas Neto 2020-09-24 11:59:35 -03:00 committed by Florian Müllner
parent cc3519332c
commit 8d84e05a2a

View File

@ -19,7 +19,7 @@ const Params = imports.misc.params;
const SystemActions = imports.misc.systemActions; const SystemActions = imports.misc.systemActions;
var MENU_POPUP_TIMEOUT = 600; var MENU_POPUP_TIMEOUT = 600;
var POPDOWN_DIALOG_TIMEOUT = 1500; var POPDOWN_DIALOG_TIMEOUT = 500;
var FOLDER_SUBICON_FRACTION = .4; var FOLDER_SUBICON_FRACTION = .4;