Skip to content

Commit

Permalink
mavpicviewer: mosaic scrolls child into view
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed Sep 21, 2024
1 parent 6483238 commit 6734a89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MAVProxy/tools/mavpicviewer/mosaic_window2.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ def set_filenunmber(self, filenumber):
# set panel background color to red
panel = self.scrolled_panel_sizer.GetItem(self.filenumber).GetWindow()
panel.SetBackgroundColour(wx.RED)
self.scrolled_panel.ScrollChildIntoView(panel)

# update title
self.update_title()
Expand Down

0 comments on commit 6734a89

Please sign in to comment.