forked from mirrors/kolyah35-minecraft-pe-0.6.1
FIXED: Android controls no longer tiny
This commit is contained in:
parent
a51f47a108
commit
c5fb648df7
2 changed files with 4 additions and 4 deletions
|
|
@ -430,9 +430,9 @@ void Gui::onConfigChanged( const Config& c ) {
|
|||
// Create outer feedback circle
|
||||
//
|
||||
#ifdef ANDROID
|
||||
const float mm = 12;
|
||||
const float mm = 50; //20
|
||||
#else
|
||||
const float mm = 12;
|
||||
const float mm = 50; //20
|
||||
#endif
|
||||
const float maxRadius = minecraft->pixelCalcUi.millimetersToPixels(mm);
|
||||
const float radius = Mth::Min(80.0f/2, maxRadius);
|
||||
|
|
|
|||
|
|
@ -126,8 +126,8 @@ void TouchscreenInput_TestFps::onConfigChanged(const Config& c) {
|
|||
|
||||
// If too large (like playing on Tablet)
|
||||
PixelCalc& pc = _minecraft->pixelCalc;
|
||||
if (pc.pixelsToMillimeters(Bw) > 14) {
|
||||
Bw = Bh = pc.millimetersToPixels(14);
|
||||
if (pc.pixelsToMillimeters(Bw) > 200) { //14
|
||||
Bw = Bh = pc.millimetersToPixels(200); //14
|
||||
}
|
||||
// temp data
|
||||
float xx;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue