Skip to content
Snippets Groups Projects
Commit 2eae4b70 authored by dos's avatar dos Committed by ave
Browse files

gr33nhouse: Don't handle input when the view isn't active

parent b449fcd4
Branches
Tags
No related merge requests found
......@@ -111,6 +111,9 @@ class ManualInputView(BaseView):
super().think(ins, delta_ms)
self.background.think(ins, delta_ms)
if not self.is_active():
return
if self.state == ViewState.ENTER_SEED:
if self.current_petal is not None:
if not ins.captouch.petals[self.current_petal].pressed:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment