Skip to content

Commit

Permalink
[On-screen mouse] fix size
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 committed Dec 2, 2020
1 parent 3fba4ab commit 6fdae58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/net/kdt/pojavlaunch/BaseMainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ public boolean onNavigationItemSelected(MenuItem menuItem) {
@Override
public void run() {
ViewGroup.LayoutParams params = mousePointer.getLayoutParams();
params.width = (int) (mousePointer.getWidth() / 100f * LauncherPreferences.PREF_MOUSESCALE);
params.height = (int) (mousePointer.getHeight() / 100f * LauncherPreferences.PREF_MOUSESCALE);
params.width = (int) (36 / 100f * LauncherPreferences.PREF_MOUSESCALE);
params.height = (int) (54 / 100f * LauncherPreferences.PREF_MOUSESCALE);
}
});

Expand Down

0 comments on commit 6fdae58

Please sign in to comment.