Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit 6fdae58

Browse files
committed
[On-screen mouse] fix size
1 parent 3fba4ab commit 6fdae58

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/java/net/kdt/pojavlaunch/BaseMainActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ public boolean onNavigationItemSelected(MenuItem menuItem) {
176176
@Override
177177
public void run() {
178178
ViewGroup.LayoutParams params = mousePointer.getLayoutParams();
179-
params.width = (int) (mousePointer.getWidth() / 100f * LauncherPreferences.PREF_MOUSESCALE);
180-
params.height = (int) (mousePointer.getHeight() / 100f * LauncherPreferences.PREF_MOUSESCALE);
179+
params.width = (int) (36 / 100f * LauncherPreferences.PREF_MOUSESCALE);
180+
params.height = (int) (54 / 100f * LauncherPreferences.PREF_MOUSESCALE);
181181
}
182182
});
183183

0 commit comments

Comments
 (0)