Gawah / MangoPeel

A decky plugin for custom STEAMOS performance monitoring style.
BSD 3-Clause "New" or "Revised" License
14 stars 4 forks source link

Make OffsetX/Y negative for bottom/right positions #9

Closed OddMorning closed 5 months ago

OddMorning commented 9 months ago

OffsetX and OffestY work great with default position (top-left) PXL_20231215_142800846

But these options shift overlay beyond the screen when custom position enabled.

For example, bottom-left: PXL_20231215_142812475

Or top-right: PXL_20231215_142830704


I think the best solution would be to invert the offset values. For example, OffsetY = 20 in UI would internally become OffsetY = -20 when Position = bottom-left. If it is possible of course

Gawah commented 9 months ago

I've adjusted the range of the offset, and now it is [-2160, 2160]. You can adjust the values according to your needs. However, I believe that even [0, 2160] is sufficient to meet the requirements. Theoretically, you can move the HUD to any location on the screen using offsetx + offsety, without the need to configure the position.

Gawah commented 9 months ago

This range change will take effect in the next plugin update.