bevy_pancam
bevy_pancam copied to clipboard
Should be disabled on egui windows
I noticed that the drag is captured even when it is done on egui windows
Adding
if egui_ctx.ctx_mut().wants_pointer_input() || egui_ctx.ctx_mut().wants_keyboard_input() {
return;
}
in systems should fix this.
It can be added behind a feature flag. What do you think about this? I can contribute this change.
Yes, that sounds like a good idea!
Sorry for the delayed response.
seconded on this, running into this issue too.
Fixed in 899a8381353b725ebf1556072f2403e20044e905