NO-ob / LoliSnatcher_Droid

A booru client with support for batch downloading
GNU Affero General Public License v3.0
371 stars 23 forks source link

Feat: adjustable desktop scroll #210

Closed drwankingstein closed 1 year ago

drwankingstein commented 1 year ago

Not totally happy with the below code since the width of the view can change how fast it scrolls however this should be a good start and helps usability quite a bit if you swap between desktop and mobile (I plan on submitting a PR in the future sometime that will allow selecting "Hybrid" which will change UI depending on aspect ratio which can help a lot with two in one devices)

scrollAmountMultiplier: SettingsHandler.instance.appMode.value.isDesktop == true 
          ? (settingsHandler.mousewheelScrollSpeed / 3) 
          : settingsHandler.mousewheelScrollSpeed,
        ),
NO-ob commented 1 year ago

Thanks, i have moved it to the interface settings