RoanH / KeysPerSecond

A keys-per-second meter & counter. Written for osu! but should work for other rhythm games too.
https://osu.ppy.sh/forum/t/552405/
GNU General Public License v3.0
346 stars 28 forks source link

Bad initial position for some monitor layouts #94

Closed UlyssesZh closed 10 months ago

UlyssesZh commented 10 months ago

My monitor layout is like this: image When the UI of KPS initializes its position to (0,0), I cannot see it because my monitor does not cover there. It spent me quite a while figuring out how to get that window in my viewport.

Would it be possible to have something else as the default position? I think the center of the screen would be better.

RoanH commented 10 months ago

Interesting bug. I'm kind of surprised Java even uses (0,0) as the default for setups like that. I can definitely just call the command to center the frame though, so I'll start doing that, though now I wonder if that one could ever put it offscreen... Though I guess I'll just do center for now, if it ever goes off-screen again I'll manually compute the corner of a display and use that.

Thanks for yet another report! I'm currently planning to do another release either tomorrow or this weekend to fix some bugs and add a few more features.

RoanH commented 10 months ago

Thanks to @efojug this will be fixed in the next release.