Change scrolling behavior to enable touch scroll. Fix #466

This commit is contained in:
Jordan
2022-01-22 15:30:02 -05:00
parent 1b38dbb36a
commit 4b0b937c41
11 changed files with 22 additions and 0 deletions

View File

@@ -86,6 +86,8 @@ class SettingsPanel(ScreenPanel):
scroll = Gtk.ScrolledWindow()
scroll.set_property("overlay-scrolling", False)
scroll.set_vexpand(True)
scroll.add_events(Gdk.EventMask.TOUCH_MASK)
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
# Create a grid for all macros
self.labels[name] = Gtk.Grid()