-
Notifications
You must be signed in to change notification settings - Fork 438
Open
Description
Description
The cursor in the input field is sometimes thinner and sometimes wider, and least on LoDPI screens.
Environment
- GPUI: latest git
9f90c1a - GPUI Component: latest git
fceaa5c - Platform: Arch Linux
- 1080p monitor
Steps to Reproduce
- Make sure you're on a LoDPI screen, e.g. a 1080p Full-HD monitor.
- Clone the gpui-component repo.
- Run
cargo run --releaseand navigate to the input field. - Enter some text text and move the cursor left and right. Look closely at the cursor. Sometimes it will be 1px wide and sometimes 2px wide.
Screenshots
Video: https://youtu.be/knRh39DDSKw
Expected
The cursor should have the same width all the time.
Actual
The cursor is sometimes 1px wide and sometimes 2px wide.