v3.2.3: adjusted exit button sizing, no longer wide on desktop
This commit is contained in:
@@ -28,13 +28,14 @@ import com.shatteredpixel.shatteredpixeldungeon.scenes.TitleScene;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.windows.WndKeyBindings;
|
||||
import com.watabou.input.GameAction;
|
||||
import com.watabou.noosa.Game;
|
||||
import com.watabou.utils.DeviceCompat;
|
||||
|
||||
public class ExitButton extends IconButton {
|
||||
|
||||
public ExitButton() {
|
||||
super(Icons.EXIT.get());
|
||||
|
||||
width = PixelScene.landscape() ? 40 : 20;
|
||||
width = (PixelScene.landscape() && !DeviceCompat.isDesktop()) ? 40 : 20;
|
||||
height = 20;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user