mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-16 03:48:46 +02:00
Don't hide jump button while moving
This commit is contained in:
parent
cf9cf45d02
commit
649ffbe259
1 changed files with 3 additions and 5 deletions
|
@ -151,11 +151,9 @@ void Basic2DWindowOpenGLDisplayPlugin::compositeExtra() {
|
||||||
batch.setModelTransform(stickTransform);
|
batch.setModelTransform(stickTransform);
|
||||||
batch.draw(gpu::TRIANGLE_STRIP, 4);
|
batch.draw(gpu::TRIANGLE_STRIP, 4);
|
||||||
|
|
||||||
if (!virtualPadManager.getLeftVirtualPad()->isBeingTouched()) {
|
|
||||||
batch.setResourceTexture(0, _virtualPadJumpBtnTexture);
|
batch.setResourceTexture(0, _virtualPadJumpBtnTexture);
|
||||||
batch.setModelTransform(jumpTransform);
|
batch.setModelTransform(jumpTransform);
|
||||||
batch.draw(gpu::TRIANGLE_STRIP, 4);
|
batch.draw(gpu::TRIANGLE_STRIP, 4);
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue