mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Allow using any interface scale between 100%-300%.
This commit is contained in:
@@ -847,7 +847,7 @@ void DialogsInner::mousePressEvent(QMouseEvent *e) {
|
||||
|
||||
void DialogsInner::checkReorderPinnedStart(QPoint localPosition) {
|
||||
if (_pressed != nullptr && !_dragging && _state == State::Default) {
|
||||
if (qAbs(localPosition.y() - _dragStart.y()) >= convertScale(kStartReorderThreshold)) {
|
||||
if (qAbs(localPosition.y() - _dragStart.y()) >= ConvertScale(kStartReorderThreshold)) {
|
||||
_dragging = _pressed;
|
||||
if (updateReorderIndexGetCount() < 2) {
|
||||
_dragging = nullptr;
|
||||
|
Reference in New Issue
Block a user