mirror of
https://github.com/libratbag/piper.git
synced 2026-04-25 00:38:20 -04:00
Revert "ResolutionsPage: set report rate for all resolutions"
This reverts commit 4a61aa9b97.
This commit is contained in:
@@ -75,11 +75,7 @@ class ResolutionsPage(Gtk.Box):
|
||||
|
||||
def _on_report_rate_toggled(self, button, rate):
|
||||
profile = self._device.active_profile
|
||||
# TODO: currently no devices expose CAP_INDIVIDUAL_REPORT_RATE, but if
|
||||
# so then we should check for this here and set it only on the relevant
|
||||
# resolution.
|
||||
for resolution in profile.resolutions:
|
||||
resolution.report_rate = rate
|
||||
profile.active_resolution.report_rate = rate
|
||||
|
||||
@GtkTemplate.Callback
|
||||
def _on_row_activated(self, listbox, row):
|
||||
|
||||
Reference in New Issue
Block a user