SMAPI icon indicating copy to clipboard operation
SMAPI copied to clipboard

Drawing to the world is offset when zoom == 100 and UI scale != 100

Open yuri-moens opened this issue 3 months ago • 2 comments

Describe the bug When drawing to the world on zoom 100% and UI scale anything except 100% the draws don't appear in the correct location. They seem to appear in the correct location for every other zoom/UI combination except zoom == 100 and UI != 100. I've never seen this issue before so I believe it must be new with 1.6/4.0.0. I wrote a simple test mod to better illustrate the issue, see below. Apologies if this is the wrong channel to report this, I've tried Discord a couple of times but no luck, the messages tend to get lost quickly due to activity.

To Reproduce

  1. Build test mod: https://github.com/yuri-moens/TestMod
  2. Warp to the mines (world_setminelevel 2)
  3. Enjoy pretty white rectangles covering all stones
  4. In options, set zoom to 100% and UI scale to anything except 100%
  5. The rectangles are no longer covering the stones

Screenshots Using 100% Zoom and 100% UI scale https://i.imgur.com/e7ROIf2.png

Using 100% Zoom and 110% UI scale https://i.imgur.com/cIuV1cf.png

yuri-moens avatar Mar 21 '24 20:03 yuri-moens