Skip to content

Conversation

@abrossimow
Copy link
Contributor

@abrossimow abrossimow commented Jun 26, 2025

Type of Change

  • Bug Fix

Summary of Changes

Closes #816

Reasoning for rolling back gesture threshold values from int to float: the new Swipe Gesture math was introduced to be more flexible in terms of device sizes. mlauncher now is supposed to react to inches. Adding pixel-based preferences to the base calculation does not follow through with this approach. Hence, a float-based solution is re-implemented.

Key Changes

  1. rolled back changes made in 0cdaa9b regarding threshold types: from int back to float
  2. added device DPI values to Constants
  3. GestureManager now calculates distance with user DPI for gesture checks instead of pixel values
  4. Changed default swipe gesture thresholds (opinionated)

Test Information

  • MultiLauncher Version: 1.10.7.8
  • Device Name: Google Pixel 7A
  • Android Version: 15
  • Other Notes: Tested locally with AS

…es are stored with Constants.

Reverted some changes of 0cdaa9b regarding Prefs for threshold values.
@abrossimow abrossimow mentioned this pull request Jun 26, 2025
11 tasks
@CreativeCodeCat CreativeCodeCat merged commit 804ccd2 into CodeWorksCreativeHub:main Jun 26, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gestures broken after update

2 participants