v1.2.2: fixed pressing on selected tabs closing windows

This commit is contained in:
Evan Debenham 2022-04-06 21:00:23 -04:00
parent c5e6f056ce
commit bd97a7f0fd

View File

@ -29,6 +29,7 @@ import com.shatteredpixel.shatteredpixeldungeon.ui.Window;
import com.watabou.noosa.Game;
import com.watabou.noosa.Image;
import com.watabou.noosa.NinePatch;
import com.watabou.noosa.PointerArea;
import com.watabou.noosa.audio.Sample;
import com.shatteredpixel.shatteredpixeldungeon.ui.Button;
import com.watabou.utils.RectF;
@ -138,6 +139,10 @@ public class WndTabbed extends Window {
protected boolean selected;
protected NinePatch bg;
{
hotArea.blockLevel = PointerArea.ALWAYS_BLOCK;
}
@Override
protected void layout() {