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.
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.
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.