mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 21:40:15 -07:00
[On-screen mouse] fix size
This commit is contained in:
parent
3fba4ab3a0
commit
6fdae58012
1 changed files with 2 additions and 2 deletions
|
|
@ -176,8 +176,8 @@ public class BaseMainActivity extends LoggableActivity {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
ViewGroup.LayoutParams params = mousePointer.getLayoutParams();
|
ViewGroup.LayoutParams params = mousePointer.getLayoutParams();
|
||||||
params.width = (int) (mousePointer.getWidth() / 100f * LauncherPreferences.PREF_MOUSESCALE);
|
params.width = (int) (36 / 100f * LauncherPreferences.PREF_MOUSESCALE);
|
||||||
params.height = (int) (mousePointer.getHeight() / 100f * LauncherPreferences.PREF_MOUSESCALE);
|
params.height = (int) (54 / 100f * LauncherPreferences.PREF_MOUSESCALE);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue