File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ async def _post_mouse_events(
414414 elif isinstance (widget , Widget ):
415415 target_widget = widget
416416 else :
417- target_widget = app . screen .query_one (widget )
417+ target_widget = screen .query_one (widget )
418418
419419 message_arguments = _get_mouse_message_arguments (
420420 target_widget ,
@@ -447,6 +447,7 @@ async def _post_mouse_events(
447447
448448 if widget_at is None :
449449 widget_at , _ = app .get_widget_at (* offset )
450+ print ("widget_at" , repr (widget_at ))
450451 event = mouse_event_cls (** kwargs )
451452 # Bypass event processing in App.on_event. Because App.on_event
452453 # is responsible for updating App.mouse_position, and because
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ async def test_modal_pop_screen():
9191 # Pause to ensure the footer is fully composed to avoid flakiness in CI
9292 await pilot .pause ()
9393 assert await app .wait_for_refresh ()
94+ await pilot .pause (1 ) # silly test
9495 assert await pilot .click ("FooterKey" )
9596 assert await app .wait_for_refresh ()
9697 assert isinstance (app .screen , QuitScreen )
You can’t perform that action at this time.
0 commit comments