Pencil2D is an easy, intuitive tool to make 2D hand-drawn animations. Pencil2D is open source and cross-platform.
GNU General Public License v2.0
1.47k
stars
273
forks
source link
Canvas appears at bottom right of screen when viewed from a camera layer #1692
Closed
LavenderSnek closed 1 year ago
Issue Summary
I compiled the latest version recently and ran into an issue where the canvas shows up in the corner of the screen when the camera layer is selected.
It seems to be an issue with devicePixelRatioF() always returning 2 on retina displays, removing that seemed to fix it for me.
It looks similar to #1685 but it's the canvas instead of the overlays in my case.
relevant code
Actual Results
The canvas appears at the bottom right corned of the viewport when the camera layer is selected.
Expected Results
Camera should appear in the center of the screen when a camera layer is selected.
Video or Image Reference
Steps to reproduce
Open a pencil2d with any file or a new file and select the camera layer. Make sure no external displays are connected.
System Information
Pencil2D Version: 2021-11-14 nightly to latest source
Operating System: Mac OS 11.6
RAM Size: 8GB
Graphics Tablet: N/A