fix: touch scaling bug and initialize display variables as 0#4758
fix: touch scaling bug and initialize display variables as 0#4758ReenigneArcher merged 1 commit intomasterfrom
Conversation
Bundle ReportBundle size has no change ✅ |
8510c4a to
5aed1e9
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4758 +/- ##
==========================================
+ Coverage 18.17% 18.19% +0.01%
==========================================
Files 109 109
Lines 23545 23552 +7
Branches 10391 10391
==========================================
+ Hits 4280 4285 +5
+ Misses 16010 14959 -1051
- Partials 3255 4308 +1053
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 35 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
619caf9 to
80a272c
Compare
|
Initialize additional display_t members (env_width/env_height/env_logical_width/env_logical_height/width/height/logical_width/logical_height) in the constructor to ensure consistent defaults. Fix touch input scaling on Windows by removing a redundant addition of display offsets (preventing double-offsetting for multi-monitor setups) and adding a clarifying comment. Tighten the video coordinate check to use explicit >0 comparisons for logical/env sizes before computing scaling factors. Co-Authored-By: Chase Payne <27069224+nonary@users.noreply.github.com>
80a272c to
a80eae3
Compare
|
|
Tested this on Linux:
|
|
Thank you @Kishi85 |



Description
Initialize additional display_t members (env_width/env_height/env_logical_width/env_logical_height/width/height/logical_width/logical_height) in the constructor to ensure consistent defaults. Fix touch input scaling on Windows by removing a redundant addition of display offsets (preventing double-offsetting for multi-monitor setups) and adding a clarifying comment. Tighten the video coordinate check to use explicit >0 comparisons for logical/env sizes before computing scaling factors.
TODO:
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage