forked from CreatBot/CreatBotKlipperScreen
Change scrolling behavior to enable touch scroll. Fix #466
This commit is contained in:
@@ -20,6 +20,8 @@ class MacroPanel(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['macros'] = Gtk.Grid()
|
||||
|
Reference in New Issue
Block a user