FIX: increase reorder sidebar delay for desktop (#21196)

100ms as a single click was too fast, because average single click is closer to 250ms.

Previous PR: https://github.com/discourse/discourse/pull/21098
This commit is contained in:
Krzysztof Kotlarek 2023-04-21 11:01:52 +10:00 committed by GitHub
parent 30f0afe873
commit 3e414996c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import RouteInfoHelper from "discourse/lib/sidebar/route-info-helper";
import discourseLater from "discourse-common/lib/later"; import discourseLater from "discourse-common/lib/later";
const TOUCH_SCREEN_DELAY = 300; const TOUCH_SCREEN_DELAY = 300;
const MOUSE_DELAY = 100; const MOUSE_DELAY = 250;
export default class SectionLink { export default class SectionLink {
@tracked linkDragCss; @tracked linkDragCss;