这是indexloc提供的服务,不要输入任何密码
Skip to content

Commit e416c8c

Browse files
Changed: Implicitly typecast float to int for bubble size pixels
1 parent 4ce4958 commit e416c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/termux/window/FloatingBubbleManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class FloatingBubbleManager {
3232

3333
public FloatingBubbleManager(TermuxFloatView termuxFloatView) {
3434
mTermuxFloatView = termuxFloatView;
35-
BUBBLE_SIZE_PX = ViewUtils.dpToPx(mTermuxFloatView.getContext(), DEFAULT_BUBBLE_SIZE_DP);
35+
BUBBLE_SIZE_PX = (int) ViewUtils.dpToPx(mTermuxFloatView.getContext(), DEFAULT_BUBBLE_SIZE_DP);
3636
}
3737

3838
public void toggleBubble() {

0 commit comments

Comments
 (0)