Fix scrolling speed in ship browser

This commit is contained in:
DarkPhoenix
2019-05-01 01:05:31 +03:00
parent bdd4a8cfb7
commit 2da85888be

View File

@@ -33,7 +33,7 @@ class PFListPane(wx.ScrolledWindow):
self.SetBackgroundColour(wx.SystemSettings.GetColour(wx.SYS_COLOUR_WINDOW))
self.SetVirtualSize((1, 1))
self.SetScrollRate(0, 1)
self.SetScrollRate(15, 15)
self.Bind(wx.EVT_SCROLLWIN_LINEUP, self.MScrollUp)
self.Bind(wx.EVT_SCROLLWIN_LINEDOWN, self.MScrollDown)