summary refs log tree commit diff
path: root/src/TextInputWidget.cpp
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2020-10-28 16:08:17 -0400
committertrilene <trilene@runbox.com>2020-10-28 16:08:17 -0400
commitfd479a91be3c0c7f3204c94ce499edb6cf7fbd77 (patch)
tree9225e0c824f4c0e578e73c7dfba48dfaef277884 /src/TextInputWidget.cpp
parentFix crash on exit (diff)
parentMake back button bigger as it is hard to tap with your thumb (diff)
downloadnheko-fd479a91be3c0c7f3204c94ce499edb6cf7fbd77.tar.xz
Merge remote-tracking branch 'upstream/master' into webrtc-video
Diffstat (limited to 'src/TextInputWidget.cpp')
-rw-r--r--src/TextInputWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TextInputWidget.cpp b/src/TextInputWidget.cpp

index e6a10f0a..13a7c6d0 100644 --- a/src/TextInputWidget.cpp +++ b/src/TextInputWidget.cpp
@@ -453,8 +453,8 @@ FilteredTextEdit::completerRect() auto item_height = completer_->popup()->sizeHintForRow(0); auto max_height = item_height * completer_->maxVisibleItems(); auto height = (completer_->completionCount() > completer_->maxVisibleItems()) - ? max_height - : completer_->completionCount() * item_height; + ? max_height + : completer_->completionCount() * item_height; rect.setWidth(completer_->popup()->sizeHintForColumn(0)); rect.moveBottom(-height); return rect;