Hi there,
Please have a look at this app:
import ui
from scene import *
class MyScene(Scene):
def setup(self):
self.menu = ui.View(frame=(0, 0, 200, 200))
def touch_began(self, touch):
self.menu.present('popover', popover_location=touch.location)
run(MyScene())
If I touch any point on the screen the view opens as popup window. When I then touch any point outside the view it closes. So far this should be the normal function. But when I touch the screen again I get an exception:
Value error: View is already being presented or animation in progress
What's wrong? It also happens after waiting some seconds, so the view seems to be really closed.
Stefan