From 8baeda78153b4481035c29e71f7ed58ca9b220d2 Mon Sep 17 00:00:00 2001 From: Hal Eisen Date: Mon, 26 Jan 2026 14:42:36 -0800 Subject: [PATCH] Fix gravity for termux text selection handles; use already existing coordinates for handles --- .../com/termux/view/textselection/TextSelectionHandleView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/termux/termux-view/src/main/java/com/termux/view/textselection/TextSelectionHandleView.java b/termux/termux-view/src/main/java/com/termux/view/textselection/TextSelectionHandleView.java index a8279433b5..8cf3f0769b 100644 --- a/termux/termux-view/src/main/java/com/termux/view/textselection/TextSelectionHandleView.java +++ b/termux/termux-view/src/main/java/com/termux/view/textselection/TextSelectionHandleView.java @@ -132,7 +132,7 @@ public void show() { coords[1] += mPointY; if (mHandle != null) - mHandle.showAtLocation(terminalView, Gravity.CENTER, 0,0); + mHandle.showAtLocation(terminalView, Gravity.NO_GRAVITY, coords[0], coords[1]); } public void hide() {