Skip to content

Conversation

@Crypt0Beaver
Copy link

@Crypt0Beaver Crypt0Beaver commented Dec 5, 2025

Fixes some Home/System Launcher issues:

  • Crash with padding settings activated at the same time as custom grid size
  • Issues with OS3 Launcher (even if installed on a OS2 system):
    • Workspace Padding
    • CornerSlide
    • UnlockBlurSupported
    • Layout Calculation

#1370

Added initOS3Hook method to initialize new device configuration for OS 3.
Updated dp2px methods to use getAppContext() for retrieving display metrics, adding error handling for density retrieval.
Added logging for dip to px conversion in dp2px method.
Refactored workspace padding handling and updated logging.
Crypt0Beaver and others added 15 commits December 6, 2025 22:02
Updated methods to retrieve workspace padding values from preferences.
Replaced duplicated logic for hooking `getWorkspaceCellPaddingBottom`, `getWorkspaceCellPaddingTop`, and `getWorkspaceCellPaddingSide`.

A new private method, `GetPrefDimension`, now creates and returns a `MethodHook` instance. This simplifies the `initBaseCore` method by creating a reusable component that handles fetching the dimension from preferences, converting from dp to px if needed, and setting the method result.
Adapt to match HOS v2 and v3 signatures
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.

1 participant