Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@abose
Copy link
Member

@abose abose commented Aug 10, 2024

Restore Editor-Only Font Zoom Functionality

Context: In the initial version of Phoenix, the font zoom feature was limited to the editor, similar to the behavior observed in Brackets. However, when system-wide zoom capabilities were lacking, Phoenix expanded the font zoom to include menus and other UI elements as a temporary measure.

Issue: Although native system-wide zoom was later successfully integrated into the Tauri layer, the temporary extension of font zoom to all UI elements was never reverted. This led to unnecessary zooming of UI components that should not typically scale with the editor font settings.

Solution: This pull request aims to revert the font zoom functionality so that it exclusively applies to the editor's font. This change reinstates the original, more focused behavior and utilizes the native system-wide zoom capabilities for broader UI scaling needs.

Fixes: https://github.com/orgs/phcode-dev/discussions/1798

Also fix live preview switch issues

When a related js file is open in the editor, and clicking on a text box in the live preview focuses the active editor, never being able to type text in the text field. That breaks dev workflows.

@phoenixide
Copy link
Member

Thank You for making this pull request.

@sonarqubecloud
Copy link

@abose abose merged commit 5604c38 into main Aug 10, 2024
@abose abose deleted the p branch August 10, 2024 06:17
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.

3 participants