mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-01 06:00:15 +02:00
fix ctrl+f shortcut not working with particle debugging enabled
This commit is contained in:
@@ -84,6 +84,8 @@ bool ParticleDebug::KeyPress(int key, Uint16 character, bool shift, bool ctrl, b
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (ctrl)
|
||||||
|
return true;
|
||||||
if (sim->debug_currentParticle > 0)
|
if (sim->debug_currentParticle > 0)
|
||||||
{
|
{
|
||||||
sim->UpdateParticles(sim->debug_currentParticle, NPART);
|
sim->UpdateParticles(sim->debug_currentParticle, NPART);
|
||||||
|
Reference in New Issue
Block a user