CodeEditApp / CodeEditApp/CodeEdit

🐞 Image Zoom Doesnt Increase Image Size in Editor

Offen
#2,066 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug workspace
Vorherrschende Sprache
Swift
Sterne
23k
Forks
1.2k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Description

When zooming in on an image (reproduced with jpg and png files), the image zooms in, but the borders of the image dont move out, causing the outside of the image to be cut off. Behaviour is normal for images of larger sizes (for example dimensions 1024x1024) but breaks for smaller images (largest I tested was dimensions 512x512)

(see screenshots below)

### To Reproduce

1. Open a folder with an image in the workspace
2. Open an image in the editor section
3. Attempt to zoom in on the image

### Expected Behavior

The borders of the image should expand so that the whole image remains in the editor tab.

### Version Information

CodeEdit: 0.3.4-alpha (45)
macOS: Sequoia 15.5
Xcode: 16.4 (16F6)

### Additional Context

_No response_

### Screenshots

Image

Image

The first screenshot shows how the image appears normally, and the below shows how zooming in will cut off certain sections

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.