Fixed the problem of unintended panel undocking

This commit is contained in:
Eism 2023-02-10 13:14:41 +02:00
parent a29a272a71
commit 18d02b4d5e
1 changed files with 7 additions and 1 deletions

View File

@ -222,7 +222,13 @@ inline int startDragDistance()
#ifdef KDDOCKWIDGETS_QTWIDGETS
return QApplication::startDragDistance();
#else
return 4;
//! NOTE: INTERNAL PATCH FOR MU4 ONLY
//!
//! Resolves the problem of unintended panel undocking
//!
//! See:
//! https://github.com/musescore/MuseScore/pull/16013
return 40;
#endif
}